diff options
author | Marian Balakowicz <m8@semihalf.com> | 2005-10-11 19:09:42 +0200 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2005-10-11 19:09:42 +0200 |
commit | e6f2e902334d5ee65bab9cf8292cf668243531e9 (patch) | |
tree | 9ee0039daaa8161bc282f1af8d3827a5071acbc7 /common/cmd_jffs2.c | |
parent | 3df5bea0b0bddc196bf952c51d1dd54d966b82ba (diff) | |
download | u-boot-midas-e6f2e902334d5ee65bab9cf8292cf668243531e9.tar.gz u-boot-midas-e6f2e902334d5ee65bab9cf8292cf668243531e9.tar.bz2 u-boot-midas-e6f2e902334d5ee65bab9cf8292cf668243531e9.zip |
Added support for TQM834x boards.
Diffstat (limited to 'common/cmd_jffs2.c')
-rw-r--r-- | common/cmd_jffs2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c index fda0c955f4..34920b1abd 100644 --- a/common/cmd_jffs2.c +++ b/common/cmd_jffs2.c @@ -316,7 +316,7 @@ static int part_validate_nor(struct mtdids *id, struct part_info *part) { #if (CONFIG_COMMANDS & CFG_CMD_FLASH) /* info for FLASH chips */ - extern flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; + extern flash_info_t flash_info[]; flash_info_t *flash; int offset_aligned; u32 end_offset; @@ -711,7 +711,7 @@ static int device_validate(u8 type, u8 num, u32 *size) if (type == MTD_DEV_TYPE_NOR) { #if (CONFIG_COMMANDS & CFG_CMD_FLASH) if (num < CFG_MAX_FLASH_BANKS) { - extern flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; + extern flash_info_t flash_info[]; *size = flash_info[num].size; return 0; } |