summaryrefslogtreecommitdiffstats
path: root/board/lpc2292sodimm
diff options
context:
space:
mode:
Diffstat (limited to 'board/lpc2292sodimm')
-rw-r--r--board/lpc2292sodimm/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/lpc2292sodimm/flash.c b/board/lpc2292sodimm/flash.c
index 449a768271..a7e175d8ed 100644
--- a/board/lpc2292sodimm/flash.c
+++ b/board/lpc2292sodimm/flash.c
@@ -28,7 +28,7 @@
#define SST_ADDR2 ((volatile ushort*)(SST_BASEADDR + (0x2AAA << 1)))
-flash_info_t flash_info[CFG_MAX_FLASH_BANKS];
+flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];
extern int lpc2292_copy_buffer_to_flash(flash_info_t *, ulong);
extern int lpc2292_flash_erase(flash_info_t *, int, int);