From 2ee0e60d5b1d644075c73484ec73e1027b69337c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Wed, 29 Oct 2014 08:48:37 +0100 Subject: [PATCH] karo: tx51: move FDT to low RAM --- include/configs/tx51.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/configs/tx51.h b/include/configs/tx51.h index 129bd091d7..ce72d7420c 100644 --- a/include/configs/tx51.h +++ b/include/configs/tx51.h @@ -88,7 +88,6 @@ */ #define CONFIG_OF_LIBFDT #define CONFIG_OF_BOARD_SETUP -#define CONFIG_SYS_FDT_ADDR (PHYS_SDRAM_1 + SZ_16M) /* * Boot Linux @@ -107,7 +106,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 94000000 +#define CONFIG_FDTADDR 90001000 #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 @@ -141,8 +142,8 @@ "cpu_clk=" CONFIG_SYS_CPU_CLK_STR "\0" \ "default_bootargs=set bootargs " CONFIG_BOOTARGS \ " ${append_bootargs}\0" \ - "fdtaddr=91000000\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" \ -- 2.39.2