This source file includes following definitions.
- iop3xx_map_io
1
2
3
4
5
6
7
8
9
10 #include <linux/mm.h>
11 #include <linux/init.h>
12 #include <asm/mach/map.h>
13 #include "iop3xx.h"
14
15
16
17
18
19 static struct map_desc iop3xx_std_desc[] __initdata = {
20 {
21 .virtual = IOP3XX_PERIPHERAL_VIRT_BASE,
22 .pfn = __phys_to_pfn(IOP3XX_PERIPHERAL_PHYS_BASE),
23 .length = IOP3XX_PERIPHERAL_SIZE,
24 .type = MT_UNCACHED,
25 },
26 };
27
28 void __init iop3xx_map_io(void)
29 {
30 iotable_init(iop3xx_std_desc, ARRAY_SIZE(iop3xx_std_desc));
31 }