summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2005-10-11 19:09:42 +0200
committerMarian Balakowicz <m8@semihalf.com>2005-10-11 19:09:42 +0200
commite6f2e902334d5ee65bab9cf8292cf668243531e9 (patch)
tree9ee0039daaa8161bc282f1af8d3827a5071acbc7 /tools
parent3df5bea0b0bddc196bf952c51d1dd54d966b82ba (diff)
Added support for TQM834x boards.
Diffstat (limited to 'tools')
-rw-r--r--tools/updater/flash.c2
-rw-r--r--tools/updater/flash_hw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/updater/flash.c b/tools/updater/flash.c
index 99b17195e57..32a17677aaf 100644
--- a/tools/updater/flash.c
+++ b/tools/updater/flash.c
@@ -24,7 +24,7 @@
#include <common.h>
#include <flash.h>
-extern flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips */
+extern flash_info_t flash_info[]; /* info for FLASH chips */
/*-----------------------------------------------------------------------
* Functions
diff --git a/tools/updater/flash_hw.c b/tools/updater/flash_hw.c
index 62d1083c468..2d9b8c88028 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);