diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2017-05-12 11:48:27 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-05-31 08:34:00 (GMT) |
commit | 5ed7d31a1461592a4e65d9a8cfdfd73de4738b35 (patch) | |
tree | 63d6cb99d94975d9e78bdb2f85a291e90627391c /include/configs/imx6ul_geam.h | |
parent | 46f9c839c9c2b1da54bc7a1f786e82d09588aadf (diff) | |
download | u-boot-5ed7d31a1461592a4e65d9a8cfdfd73de4738b35.tar.xz |
engicam: Add fdt_addr env value based on cpu_type
Define FDT_ADDR based on the respective SOM, and later patches
will make use of this fdt_addr in single config file.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'include/configs/imx6ul_geam.h')
-rw-r--r-- | include/configs/imx6ul_geam.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/imx6ul_geam.h b/include/configs/imx6ul_geam.h index f7c4824..2617c8a 100644 --- a/include/configs/imx6ul_geam.h +++ b/include/configs/imx6ul_geam.h @@ -40,7 +40,7 @@ "image=uImage\0" \ "fit_image=fit.itb\0" \ "fdt_high=0xffffffff\0" \ - "fdt_addr=0x87800000\0" \ + "fdt_addr=" FDT_ADDR "\0" \ "boot_fdt=try\0" \ "mmcpart=1\0" \ "nandroot=ubi0:rootfs rootfstype=ubifs\0" \ @@ -108,6 +108,9 @@ #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR #define CONFIG_SYS_HZ 1000 +#define DRAM_OFFSET(x) 0x87##x +#define FDT_ADDR __stringify(DRAM_OFFSET(800000)) + /* Physical Memory Map */ #define CONFIG_NR_DRAM_BANKS 1 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR |