diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-15 18:23:43 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-15 18:23:43 +0200 |
commit | 84bd92bdda05e6aaae3150ed6ef957b3a67398b7 (patch) | |
tree | ea5e3abbeff7e3f8412a2e34645b9773f50578e8 /common/cmd_jffs2.c | |
parent | 77ddac9480d63a80b6bb76d7ee4dcc2d1070867e (diff) | |
parent | 36247821ef77cc13d5f9fdbf7771564f9f8386bd (diff) | |
download | u-boot-imx-84bd92bdda05e6aaae3150ed6ef957b3a67398b7.zip u-boot-imx-84bd92bdda05e6aaae3150ed6ef957b3a67398b7.tar.gz u-boot-imx-84bd92bdda05e6aaae3150ed6ef957b3a67398b7.tar.bz2 |
Merge with /home/m8/git/u-boot
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 fda0c95..34920b1 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; } |