summaryrefslogtreecommitdiffstats
path: root/board/atmel/atstk1000/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/atstk1000/flash.c')
-rw-r--r--board/atmel/atstk1000/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/atstk1000/flash.c b/board/atmel/atstk1000/flash.c
index 3aebf66ee2..958f4dc330 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;
OpenPOWER on IntegriCloud