1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2014-2015 Freescale Semiconductor, Inc.
4 * Copyright Jasbir Matharu
5 * Copyright 2015 UDOO Team
7 * Configuration settings for the UDOO NEO board.
13 #include "mx6_common.h"
15 /* MMC Configuration */
16 #define CFG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR
18 /* Command definition */
19 #define CFG_MXC_UART_BASE UART1_BASE
22 #define CFG_EXTRA_ENV_SETTINGS \
23 "console=ttymxc0,115200\0" \
24 "fdt_high=0xffffffff\0" \
25 "initrd_high=0xffffffff\0" \
26 "fdtfile=undefined\0" \
27 "fdt_addr=0x83000000\0" \
28 "fdt_addr_r=0x83000000\0" \
31 "mmcrootfstype=ext4\0" \
33 "if test $board_name = BASIC; then " \
34 "setenv fdtfile imx6sx-udoo-neo-basic.dtb; fi; " \
35 "if test $board_name = BASICKS; then " \
36 "setenv fdtfile imx6sx-udoo-neo-basic.dtb; fi; " \
37 "if test $board_name = FULL; then " \
38 "setenv fdtfile imx6sx-udoo-neo-full.dtb; fi; " \
39 "if test $board_name = EXTENDED; then " \
40 "setenv fdtfile imx6sx-udoo-neo-extended.dtb; fi; " \
41 "if test $fdtfile = UNDEFINED; then " \
42 "echo WARNING: Could not determine dtb to use; fi\0" \
43 "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
44 "pxefile_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
45 "ramdisk_addr_r=0x84000000\0" \
46 "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
49 #define BOOT_TARGET_DEVICES(func) \
54 #include <config_distro_bootcmd.h>
56 /* Physical Memory Map */
57 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
58 #define CFG_SYS_SDRAM_BASE PHYS_SDRAM
59 #define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
60 #define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
62 #endif /* __CONFIG_H */