summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx/common.c
diff options
context:
space:
mode:
authorKrzysztof Hałasa2010-03-26 16:38:52 +0100
committerJason Cooper2012-11-22 04:36:30 +0100
commitf0cdb153292635203b3a0921c901dacf85d4ef1b (patch)
tree1efac5467dd39a0ee0ad7eae5f6dfdcad14a76bc /arch/arm/mach-ixp4xx/common.c
parentixp4xx: Declare MODULE_FIRMWARE usage (diff)
downloadkernel-qcow2-linux-f0cdb153292635203b3a0921c901dacf85d4ef1b.tar.gz
kernel-qcow2-linux-f0cdb153292635203b3a0921c901dacf85d4ef1b.tar.xz
kernel-qcow2-linux-f0cdb153292635203b3a0921c901dacf85d4ef1b.zip
IXP4xx: Always ioremap() Queue Manager MMIO region at boot.
It doesn't make much sense to map QMgr dynamically - we almost always need it and the static mapping will be needed for little-endian data-coherent operation (to make QMgr region value-coherent). Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'arch/arm/mach-ixp4xx/common.c')
-rw-r--r--arch/arm/mach-ixp4xx/common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c
index fdf91a160884..acc0584377fc 100644
--- a/arch/arm/mach-ixp4xx/common.c
+++ b/arch/arm/mach-ixp4xx/common.c
@@ -67,6 +67,11 @@ static struct map_desc ixp4xx_io_desc[] __initdata = {
.pfn = __phys_to_pfn(IXP4XX_PCI_CFG_BASE_PHYS),
.length = IXP4XX_PCI_CFG_REGION_SIZE,
.type = MT_DEVICE
+ }, { /* Queue Manager */
+ .virtual = (unsigned long)IXP4XX_QMGR_BASE_VIRT,
+ .pfn = __phys_to_pfn(IXP4XX_QMGR_BASE_PHYS),
+ .length = IXP4XX_QMGR_REGION_SIZE,
+ .type = MT_DEVICE
},
#ifdef CONFIG_DEBUG_LL
{ /* Debug UART mapping */