diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-11-20 15:53:10 +0100 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-04-14 15:20:27 +0200 |
commit | 1f4f2121c2685182eb87fa9a9b799d1917387a1c (patch) | |
tree | 0382acf54d9e4c1eb039bd97cd4dc37004a5aa96 /board/atmel/atstk1000/flash.c | |
parent | df548d3c3e2bbc40258713167859ffc2ce99a900 (diff) | |
download | u-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 'board/atmel/atstk1000/flash.c')
-rw-r--r-- | board/atmel/atstk1000/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/atstk1000/flash.c b/board/atmel/atstk1000/flash.c index 3aebf66..958f4dc 100644 --- a/board/atmel/atstk1000/flash.c +++ b/board/atmel/atstk1000/flash.c @@ -57,7 +57,7 @@ unsigned long flash_init(void) gd->bd->bi_flashstart = CFG_FLASH_BASE; gd->bd->bi_flashsize = CFG_FLASH_SIZE; - gd->bd->bi_flashoffset = __edata_lma - _text; + gd->bd->bi_flashoffset = _edata - _text; flash_info[0].size = CFG_FLASH_SIZE; flash_info[0].sector_count = 135; |