struct map_info map;
struct mtd_partition *partitions;
struct resource *res;
+ int nr_banks;
};
static inline unsigned long flash_bank_setup(struct map_info *map, unsigned long ofs)
*/
info->map.phys = NO_XIP;
+ info->nr_banks = ixp_data->nr_banks;
info->map.size = ixp_data->nr_banks * window_size;
info->map.bankwidth = 1;