1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
5 * Configuration settings for the Boundary Devices Nitrogen6X
6 * and Freescale i.MX6Q Sabre Lite boards.
12 #include "mx6_common.h"
15 #define CFG_SYS_FSL_ESDHC_ADDR 0
16 #define CFG_SYS_FSL_USDHC_NUM 2
18 #define IMX_FEC_BASE ENET_BASE_ADDR
19 #define CFG_FEC_MXC_PHYADDR 6
22 #define DISTRO_BOOT_DEV_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1)
24 #define DISTRO_BOOT_DEV_MMC(func)
27 #ifdef CONFIG_CMD_SATA
28 #define DISTRO_BOOT_DEV_SATA(func) func(SATA, sata, 0)
30 #define DISTRO_BOOT_DEV_SATA(func)
33 #ifdef CONFIG_USB_STORAGE
34 #define DISTRO_BOOT_DEV_USB(func) func(USB, usb, 0)
36 #define DISTRO_BOOT_DEV_USB(func)
40 #define DISTRO_BOOT_DEV_PXE(func) func(PXE, pxe, na)
42 #define DISTRO_BOOT_DEV_PXE(func)
45 #ifdef CONFIG_CMD_DHCP
46 #define DISTRO_BOOT_DEV_DHCP(func) func(DHCP, dhcp, na)
48 #define DISTRO_BOOT_DEV_DHCP(func)
51 #define BOOT_TARGET_DEVICES(func) \
52 DISTRO_BOOT_DEV_MMC(func) \
53 DISTRO_BOOT_DEV_SATA(func) \
54 DISTRO_BOOT_DEV_USB(func) \
55 DISTRO_BOOT_DEV_PXE(func) \
56 DISTRO_BOOT_DEV_DHCP(func)
58 #include <config_distro_bootcmd.h>
59 #include <linux/stringify.h>
61 #define CFG_EXTRA_ENV_SETTINGS \
63 "fdt_high=0xffffffff\0" \
64 "initrd_high=0xffffffff\0" \
65 "fdt_addr_r=0x18000000\0" \
66 "fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
67 "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
68 "pxefile_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
69 "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
70 "ramdisk_addr_r=0x13000000\0" \
71 "ramdiskaddr=0x13000000\0" \
73 "usb_pgood_delay=2000\0" \
76 /* Miscellaneous configurable options */
78 /* Physical Memory Map */
79 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
81 #define CFG_SYS_SDRAM_BASE PHYS_SDRAM
82 #define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
83 #define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
85 /* Environment organization */
87 #endif /* __CONFIG_H */