TI:armv7: Change CONFIG_SYS_SPL_ARGS_ADDR to a higher address
authorTom Rini <trini@ti.com>
Fri, 4 Oct 2013 14:51:40 +0000 (10:51 -0400)
committerTom Rini <trini@ti.com>
Fri, 1 Nov 2013 19:56:00 +0000 (15:56 -0400)
With changes to increase the size of the device tree (required to move
more data out of the kernel and into DT), loading the args at the old
address leads to us overwriting things later on.  To correct this, load
the args file to where we load the device tree anyhow.  This is also
safe for non-DT booting as in either case we use r2 to pass in the
location of things.

Signed-off-by: Tom Rini <trini@ti.com>
include/configs/ti_armv7_common.h

index e89e874..13ed875 100644 (file)
 #define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME       "u-boot.img"
 
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_SYS_SPL_ARGS_ADDR               (CONFIG_SYS_SDRAM_BASE + 0x100)
+#define CONFIG_SYS_SPL_ARGS_ADDR               0x80F80000
 
 /* FAT */
 #define CONFIG_SPL_FAT_LOAD_KERNEL_NAME                "uImage"