mirror of
https://github.com/adulau/aha.git
synced 2025-01-03 22:53:18 +00:00
[ARM] Fix Footbridge-based machines
Unfortunately, all these machines got broken when the PFN memory setup changes happened. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
cd52d1ee9a
commit
6460177f42
1 changed files with 12 additions and 12 deletions
|
@ -132,14 +132,14 @@ void __init footbridge_init_irq(void)
|
||||||
static struct map_desc fb_common_io_desc[] __initdata = {
|
static struct map_desc fb_common_io_desc[] __initdata = {
|
||||||
{
|
{
|
||||||
.virtual = ARMCSR_BASE,
|
.virtual = ARMCSR_BASE,
|
||||||
.pfn = DC21285_ARMCSR_BASE,
|
.pfn = __phy_to_pfn(DC21285_ARMCSR_BASE),
|
||||||
.length = ARMCSR_SIZE,
|
.length = ARMCSR_SIZE,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}, {
|
}, {
|
||||||
.virtual = XBUS_BASE,
|
.virtual = XBUS_BASE,
|
||||||
.pfn = __phys_to_pfn(0x40000000),
|
.pfn = __phys_to_pfn(0x40000000),
|
||||||
.length = XBUS_SIZE,
|
.length = XBUS_SIZE,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -153,28 +153,28 @@ static struct map_desc ebsa285_host_io_desc[] __initdata = {
|
||||||
.virtual = PCIMEM_BASE,
|
.virtual = PCIMEM_BASE,
|
||||||
.pfn = __phys_to_pfn(DC21285_PCI_MEM),
|
.pfn = __phys_to_pfn(DC21285_PCI_MEM),
|
||||||
.length = PCIMEM_SIZE,
|
.length = PCIMEM_SIZE,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}, {
|
}, {
|
||||||
.virtual = PCICFG0_BASE,
|
.virtual = PCICFG0_BASE,
|
||||||
.pfn = __phys_to_pfn(DC21285_PCI_TYPE_0_CONFIG),
|
.pfn = __phys_to_pfn(DC21285_PCI_TYPE_0_CONFIG),
|
||||||
.length = PCICFG0_SIZE,
|
.length = PCICFG0_SIZE,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}, {
|
}, {
|
||||||
.virtual = PCICFG1_BASE,
|
.virtual = PCICFG1_BASE,
|
||||||
.pfn = __phys_to_pfn(DC21285_PCI_TYPE_1_CONFIG),
|
.pfn = __phys_to_pfn(DC21285_PCI_TYPE_1_CONFIG),
|
||||||
.length = PCICFG1_SIZE,
|
.length = PCICFG1_SIZE,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}, {
|
}, {
|
||||||
.virtual = PCIIACK_BASE,
|
.virtual = PCIIACK_BASE,
|
||||||
.pfn = __phys_to_pfn(DC21285_PCI_IACK),
|
.pfn = __phys_to_pfn(DC21285_PCI_IACK),
|
||||||
.length = PCIIACK_SIZE,
|
.length = PCIIACK_SIZE,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}, {
|
}, {
|
||||||
.virtual = PCIO_BASE,
|
.virtual = PCIO_BASE,
|
||||||
.pfn = __phys_to_pfn(DC21285_PCI_IO),
|
.pfn = __phys_to_pfn(DC21285_PCI_IO),
|
||||||
.length = PCIO_SIZE,
|
.length = PCIO_SIZE,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}
|
},
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -187,13 +187,13 @@ static struct map_desc co285_io_desc[] __initdata = {
|
||||||
.virtual = PCIO_BASE,
|
.virtual = PCIO_BASE,
|
||||||
.pfn = __phys_to_pfn(DC21285_PCI_IO),
|
.pfn = __phys_to_pfn(DC21285_PCI_IO),
|
||||||
.length = PCIO_SIZE,
|
.length = PCIO_SIZE,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}, {
|
}, {
|
||||||
.virtual = PCIMEM_BASE,
|
.virtual = PCIMEM_BASE,
|
||||||
.pfn = __phys_to_pfn(DC21285_PCI_MEM),
|
.pfn = __phys_to_pfn(DC21285_PCI_MEM),
|
||||||
.length = PCIMEM_SIZE,
|
.length = PCIMEM_SIZE,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}
|
},
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue