1 /* SPDX-License-Identifier: GPL-2.0+ */
9 #include <linux/sizes.h>
10 #include <linux/stringify.h>
11 #include <asm/arch/imx-regs.h>
12 #include <config_distro_bootcmd.h>
14 #define CFG_SYS_UBOOT_BASE \
15 (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
17 #ifdef CONFIG_SPL_BUILD
18 /* malloc f used before GD_FLG_FULL_MALLOC_INIT set */
19 #define CFG_MALLOC_F_ADDR 0x930000
22 #define BOOT_TARGET_DEVICES(func) \
27 #include <config_distro_bootcmd.h>
29 /* Initial environment variables */
30 #define CFG_EXTRA_ENV_SETTINGS BOOTENV
32 /* Link Definitions */
34 #define CFG_SYS_INIT_RAM_ADDR 0x40000000
35 #define CFG_SYS_INIT_RAM_SIZE 0x200000
37 #define CFG_SYS_SDRAM_BASE 0x40000000
38 #define PHYS_SDRAM 0x40000000
39 #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */