/* We can't use the standard memcpy due to the broken SlowPort address translation on rev A0 and A1 silicon and the fact that we have banked flash.  */
static void ixp2000_flash_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len)
/* We can't use the standard memcpy due to the broken SlowPort address translation on rev A0 and A1 silicon and the fact that we have banked flash.  */
static void ixp2000_flash_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len)
{
	from = flash_bank_setup(map, from);
	while(len--)
		*(__u8 *) to++ = *(__u8 *)(map->map_priv_1 + from++);
}