aboutsummaryrefslogtreecommitdiffstats
path: root/board/gth2/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gth2/flash.c')
-rw-r--r--board/gth2/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gth2/flash.c b/board/gth2/flash.c
index f96edffa2d..1b3c43c431 100644
--- a/board/gth2/flash.c
+++ b/board/gth2/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()