From: Lothar Waßmann Date: Wed, 3 Sep 2014 07:34:34 +0000 (+0200) Subject: karo: tx28: change default loadaddr for TX28S X-Git-Tag: KARO-TX28-2014-09-10~9 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=1a5470bb8d5b1272bef933137efc89f1142162ba 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. --- 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)