From 1a5470bb8d5b1272bef933137efc89f1142162ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Wed, 3 Sep 2014 09:34:34 +0200 Subject: [PATCH] karo: tx28: change default loadaddr for TX28S TX28S has only 64MiB SDRAM. With the default loadaddr of 0x43000000 there is only ~8MiB space between ${loadaddr} and the start of U-Boot in memory. Reduce the loadaddr to leave more space for downloads without overwriting U-Boot code. --- include/configs/tx28.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/tx28.h b/include/configs/tx28.h index 2d521c577e..182e368db0 100644 --- a/include/configs/tx28.h +++ b/include/configs/tx28.h @@ -103,7 +103,11 @@ #define CONFIG_BOOTFILE "uImage" #define CONFIG_BOOTARGS "console=ttyAMA0,115200 ro debug panic=1" #define CONFIG_BOOTCOMMAND "run bootcmd_nand" +#ifdef CONFIG_TX28_S +#define CONFIG_LOADADDR 41000000 +#else #define CONFIG_LOADADDR 43000000 +#endif #define CONFIG_FDTADDR 40001000 #define CONFIG_SYS_LOAD_ADDR _pfx(0x, CONFIG_LOADADDR) #define CONFIG_SYS_FDT_ADDR _pfx(0x, CONFIG_FDTADDR) -- 2.39.2