summaryrefslogtreecommitdiff
path: root/board/smdk2400/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/smdk2400/flash.c')
-rw-r--r--board/smdk2400/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/smdk2400/flash.c b/board/smdk2400/flash.c
index c4d6bae..6882b88 100644
--- a/board/smdk2400/flash.c
+++ b/board/smdk2400/flash.c
@@ -76,7 +76,7 @@ ulong flash_init (void)
flash_info[i].sector_count = CFG_MAX_FLASH_SECT;
memset (flash_info[i].protect, 0, CFG_MAX_FLASH_SECT);
if (i == 0)
- flashbase = PHYS_FLASH_1;
+ flashbase = CFG_FLASH_BASE;
else
panic ("configured too many flash banks!\n");
for (j = 0; j < flash_info[i].sector_count; j++) {