/* Copy data from IO memory space to "real" memory space. This needs to be optimized.  */
void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count)
/* Copy data from IO memory space to "real" memory space. This needs to be optimized.  */
void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count)
{
	unsigned char *t = to;
	while (count) {
		count--;
		*t = readb(from);
		t++;
		from++;
	}
}