summaryrefslogtreecommitdiffstats
path: root/board/pb1x00/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pb1x00/flash.c')
-rw-r--r--board/pb1x00/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/pb1x00/flash.c b/board/pb1x00/flash.c
index 3cf29e844b..a2fed1d713 100644
--- a/board/pb1x00/flash.c
+++ b/board/pb1x00/flash.c
@@ -23,7 +23,7 @@
#include <common.h>
-flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips */
+flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
/*-----------------------------------------------------------------------
* flash_init()
OpenPOWER on IntegriCloud