0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #include <linux/mm.h>
0011 #include <linux/init.h>
0012 #include <asm/mach/map.h>
0013 #include "iop3xx.h"
0014
0015
0016
0017
0018
0019 static struct map_desc iop3xx_std_desc[] __initdata = {
0020 {
0021 .virtual = IOP3XX_PERIPHERAL_VIRT_BASE,
0022 .pfn = __phys_to_pfn(IOP3XX_PERIPHERAL_PHYS_BASE),
0023 .length = IOP3XX_PERIPHERAL_SIZE,
0024 .type = MT_UNCACHED,
0025 },
0026 };
0027
0028 void __init iop3xx_map_io(void)
0029 {
0030 iotable_init(iop3xx_std_desc, ARRAY_SIZE(iop3xx_std_desc));
0031 }