summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-11-20 15:53:10 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-14 15:20:27 +0200
commit1f4f2121c2685182eb87fa9a9b799d1917387a1c (patch)
tree0382acf54d9e4c1eb039bd97cd4dc37004a5aa96 /include/configs
parentdf548d3c3e2bbc40258713167859ffc2ce99a900 (diff)
downloadu-boot-imx-1f4f2121c2685182eb87fa9a9b799d1917387a1c.zip
u-boot-imx-1f4f2121c2685182eb87fa9a9b799d1917387a1c.tar.gz
u-boot-imx-1f4f2121c2685182eb87fa9a9b799d1917387a1c.tar.bz2
AVR32: Relocate u-boot to SDRAM
Relocate the u-boot image into SDRAM like everyone else does. This means that we can handle much larger .data and .bss than we used to. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/atstk1002.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/configs/atstk1002.h b/include/configs/atstk1002.h
index 717f540..7463633 100644
--- a/include/configs/atstk1002.h
+++ b/include/configs/atstk1002.h
@@ -151,16 +151,8 @@
#define CFG_INIT_SP_ADDR (CFG_INTRAM_BASE + CFG_INTRAM_SIZE)
#define CFG_MALLOC_LEN (256*1024)
-#define CFG_MALLOC_END \
- ({ \
- DECLARE_GLOBAL_DATA_PTR; \
- CFG_SDRAM_BASE + gd->sdram_size; \
- })
-#define CFG_MALLOC_START (CFG_MALLOC_END - CFG_MALLOC_LEN)
-
#define CFG_DMA_ALLOC_LEN (16384)
-#define CFG_DMA_ALLOC_END (CFG_MALLOC_START)
-#define CFG_DMA_ALLOC_START (CFG_DMA_ALLOC_END - CFG_DMA_ALLOC_LEN)
+
/* Allow 2MB for the kernel run-time image */
#define CFG_LOAD_ADDR (CFG_SDRAM_BASE + 0x00200000)
#define CFG_BOOTPARAMS_LEN (16 * 1024)