]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ATSTK1002: Use SDRAM + 4MB as default load address
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 22 Nov 2007 16:01:24 +0000 (17:01 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 5 Feb 2008 11:14:26 +0000 (12:14 +0100)
Many people run into problems when they compile a big kernel and load
the uImage at the default SDRAM + 2MB address as the kernel will
overwrite the uImage as it is being unpacked. Increase the default
load address so that we can load a 4MB kernel image without any
problems.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
include/configs/atstk1002.h

index b33e26fe011727d7fbc9ff38c8d913565223bf8f..95aeab6d4ee7eafd6af3ca5037eeb8f6014150a2 100644 (file)
 #define CFG_MALLOC_LEN                 (256*1024)
 #define CFG_DMA_ALLOC_LEN              (16384)
 
-/* Allow 2MB for the kernel run-time image */
-#define CFG_LOAD_ADDR                  (CFG_SDRAM_BASE + 0x00200000)
+/* Allow 4MB for the kernel run-time image */
+#define CFG_LOAD_ADDR                  (CFG_SDRAM_BASE + 0x00400000)
 #define CFG_BOOTPARAMS_LEN             (16 * 1024)
 
 /* Other configuration settings that shouldn't have to change all that often */