summaryrefslogtreecommitdiff
path: root/arch/arm/mach-footbridge/include/mach/io.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-03-01 20:48:12 -0600
committerRob Herring <rob.herring@calxeda.com>2012-07-26 09:09:59 -0500
commit8ef6e6201b26cb9fde79c1baa08145af6aca2815 (patch)
treec2ae90128bfea1a6ff8d463141b1a14ab1b1faf6 /arch/arm/mach-footbridge/include/mach/io.h
parentc04dc9a6bfe88b8c15bf8dd298fc24d6b9df3f22 (diff)
ARM: footbridge: use fixed PCI i/o mapping
Move footbridge PCI to fixed i/o mapping. io.h is still needed for the !MMU case. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: Russell King <linux@arm.linux.org.uk> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-footbridge/include/mach/io.h')
-rw-r--r--arch/arm/mach-footbridge/include/mach/io.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/mach-footbridge/include/mach/io.h b/arch/arm/mach-footbridge/include/mach/io.h
index aba531eebbc6..aba46388cc0c 100644
--- a/arch/arm/mach-footbridge/include/mach/io.h
+++ b/arch/arm/mach-footbridge/include/mach/io.h
@@ -14,18 +14,10 @@
#ifndef __ASM_ARM_ARCH_IO_H
#define __ASM_ARM_ARCH_IO_H
-#ifdef CONFIG_MMU
-#define MMU_IO(a, b) (a)
-#else
-#define MMU_IO(a, b) (b)
-#endif
-
-#define PCIO_SIZE 0x00100000
-#define PCIO_BASE MMU_IO(0xff000000, 0x7c000000)
-
/*
- * Translation of various region addresses to virtual addresses
+ * Translation of various i/o addresses to host addresses for !CONFIG_MMU
*/
+#define PCIO_BASE 0x7c000000
#define __io(a) ((void __iomem *)(PCIO_BASE + (a)))
#endif