@@ -50,30 +50,6 @@ const static struct of_device_id irq_match[] = {
{}
};
-static struct map_desc cyclone5_io_desc[] __initdata = {
- {
- .virtual = IO_ADDRESS(SOCFPGA_MPUSCU_BASE),
- .pfn = __phys_to_pfn(SOCFPGA_MPUSCU_BASE),
- .length = SZ_8K,
- .type = MT_DEVICE,
- }, {
- .virtual = IO_ADDRESS(SOCFPGA_SYSMGR_BASE),
- .pfn = __phys_to_pfn(SOCFPGA_SYSMGR_BASE),
- .length = SZ_4K,
- .type = MT_DEVICE,
- }, {
- .virtual = IO_ADDRESS(SOCFPGA_CLKMGR_BASE),
- .pfn = __phys_to_pfn(SOCFPGA_CLKMGR_BASE),
- .length = SZ_4K,
- .type = MT_DEVICE,
- },
-};
-
-static void __init cyclone5_map_io(void)
-{
- iotable_init(cyclone5_io_desc, ARRAY_SIZE(cyclone5_io_desc));
-}
-
static void __init gic_init_irq(void)
{
of_irq_init(irq_match);
@@ -100,7 +76,6 @@ static const char *altera_dt_match[] = {
};
DT_MACHINE_START(SOCFPGA_CYCLONE5, "Altera SOCFPGA Cyclone V")
- .map_io = cyclone5_map_io,
.init_early = socfpga_init_early,
.init_irq = gic_init_irq,
.handle_irq = gic_handle_irq,