/* Copy data from "real" memory space to IO memory space. This needs to be optimized.  */
void memcpy_toio(volatile void __iomem *to, const void *from, long count)
/* Copy data from "real" memory space to IO memory space. This needs to be optimized.  */
void memcpy_toio(volatile void __iomem *to, const void *from, long count)
{
	const char *src = from;
	while (count) {
		count--;
		writeb(*src++, to++);
	}
}