summaryrefslogtreecommitdiffstats
path: root/board/spd8xx/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/spd8xx/flash.c')
-rw-r--r--board/spd8xx/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/spd8xx/flash.c b/board/spd8xx/flash.c
index 8c0bb4f567..fb2fb6a7db 100644
--- a/board/spd8xx/flash.c
+++ b/board/spd8xx/flash.c
@@ -24,7 +24,7 @@
#include <common.h>
#include <mpc8xx.h>
-flash_info_t flash_info[CFG_MAX_FLASH_BANKS];
+flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];
/*-----------------------------------------------------------------------
*/
OpenPOWER on IntegriCloud