summaryrefslogtreecommitdiff
path: root/tools/updater/flash_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/updater/flash_hw.c')
-rw-r--r--tools/updater/flash_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/updater/flash_hw.c b/tools/updater/flash_hw.c
index 62d1083c46..2d9b8c8802 100644
--- a/tools/updater/flash_hw.c
+++ b/tools/updater/flash_hw.c
@@ -39,7 +39,7 @@
#endif
/*---------------------------------------------------------------------*/
-flash_info_t flash_info[CFG_MAX_FLASH_BANKS];
+flash_info_t flash_info[];
static ulong flash_get_size (ulong addr, flash_info_t *info);
static int flash_get_offsets (ulong base, flash_info_t *info);