From: Lothar Waßmann Date: Wed, 29 Oct 2014 07:53:59 +0000 (+0100) Subject: karo: tx53: move FDT to low RAM X-Git-Tag: KARO-TX-2014-11-10~9^3 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=eb0545e571c25fd243bd864c2133677c7026598b karo: tx53: move FDT to low RAM --- diff --git a/include/configs/tx53.h b/include/configs/tx53.h index 25e6204b37..2588e8d63d 100644 --- a/include/configs/tx53.h +++ b/include/configs/tx53.h @@ -82,7 +82,6 @@ */ #define CONFIG_OF_LIBFDT #define CONFIG_OF_BOARD_SETUP -#define CONFIG_SYS_FDT_ADDR (PHYS_SDRAM_1 + SZ_16M) /* * Boot Linux @@ -101,7 +100,9 @@ #define CONFIG_BOOTARGS "init=/linuxrc console=ttymxc0,115200 ro debug panic=1" #define CONFIG_BOOTCOMMAND "run bootcmd_${boot_mode} bootm_cmd" #define CONFIG_LOADADDR 78000000 +#define CONFIG_FDTADDR 70001000 #define CONFIG_SYS_LOAD_ADDR _pfx(0x, CONFIG_LOADADDR) +#define CONFIG_SYS_FDT_ADDR _pfx(0x, CONFIG_FDTADDR) #define CONFIG_U_BOOT_IMG_SIZE SZ_1M #define CONFIG_HW_WATCHDOG @@ -133,8 +134,8 @@ "cpu_clk=800\0" \ "default_bootargs=set bootargs " CONFIG_BOOTARGS \ " ${append_bootargs}\0" \ - "fdtaddr=71000000\0" \ - "fdtsave=fdt resize;nand erase.part dtb" \ + "fdtaddr=" xstr(CONFIG_FDTADDR) "\0" \ + "fdtsave=fdt resize;nand erase.part dtb" \ ";nand write ${fdtaddr} dtb ${fdtsize}\0" \ "mtdids=" MTDIDS_DEFAULT "\0" \ "mtdparts=" MTDPARTS_DEFAULT "\0" \