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 /fs | |
parent | 3df5bea0b0bddc196bf952c51d1dd54d966b82ba (diff) | |
download | u-boot-imx-e6f2e902334d5ee65bab9cf8292cf668243531e9.zip u-boot-imx-e6f2e902334d5ee65bab9cf8292cf668243531e9.tar.gz u-boot-imx-e6f2e902334d5ee65bab9cf8292cf668243531e9.tar.bz2 |
Added support for TQM834x boards.
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cramfs/cramfs.c | 2 | ||||
-rw-r--r-- | fs/jffs2/jffs2_1pass.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/cramfs/cramfs.c b/fs/cramfs/cramfs.c index f02bf3c..48e7f63 100644 --- a/fs/cramfs/cramfs.c +++ b/fs/cramfs/cramfs.c @@ -44,7 +44,7 @@ struct cramfs_super super; /* CPU address space offset calculation macro, struct part_info offset is * device address space offset, so we need to shift it by a device start address. */ -extern flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; +extern flash_info_t flash_info[]; #define PART_OFFSET(x) (x->offset + flash_info[x->dev->id->num].start[0]) static int cramfs_read_super (struct part_info *info) diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c index e53aa31..0f29071 100644 --- a/fs/jffs2/jffs2_1pass.c +++ b/fs/jffs2/jffs2_1pass.c @@ -263,7 +263,7 @@ static inline void *get_fl_mem_nor(u32 off) u32 addr = off; struct mtdids *id = current_part->dev->id; - extern flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; + extern flash_info_t flash_info[]; flash_info_t *flash = &flash_info[id->num]; addr += flash->start[0]; |