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_isiot.h | |
parent | 46f9c839c9c2b1da54bc7a1f786e82d09588aadf (diff) | |
download | u-boot-fsl-qoriq-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_isiot.h')
-rw-r--r-- | include/configs/imx6ul_isiot.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/imx6ul_isiot.h b/include/configs/imx6ul_isiot.h index 2dff5ee..5de3e1d 100644 --- a/include/configs/imx6ul_isiot.h +++ b/include/configs/imx6ul_isiot.h @@ -41,7 +41,7 @@ "fit_image=fit.itb\0" \ "splashpos=m,m\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 |