/* * This table is only for optimization. Since ioremap() could always share * the same mapping if it's defined as static IO mapping. * * Without this table, system could also work. The cost is some virtual address * spaces wasted since ioremap() may be called multi times for the same * IO space.
*/ staticstruct map_desc hi3620_io_desc[] __initdata = {
{ /* sysctrl */
.pfn = __phys_to_pfn(HI3620_SYSCTRL_PHYS_BASE),
.virtual = HI3620_SYSCTRL_VIRT_BASE,
.length = 0x1000,
.type = MT_DEVICE,
},
};