Skip to contentSkip to conversation

Versatile Express: add NO_IOPORT

PATCH New Russell King - ARM Linux 2 participants 2 messages Feb 4, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Versatile Express: add NO_IOPORT

On Versatile Express, the PCI Express buses are broken and unusable, so we aren't going to support PCI/ISA IO cycles on this platform. Remove the PCI/ISA IO inb et.al. support for this platform.

---
 arch/arm/Kconfig                         |    1 +
 arch/arm/mach-vexpress/include/mach/io.h |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
arch/arm/Kconfig +1 -0
index cd8f520..2323311 100644
@@ -313,6 +313,7 @@ config ARCH_VEXPRESS
 	select HAVE_CLK
 	select HAVE_PATA_PLATFORM
 	select ICST
+	select NO_IOPORT
 	select PLAT_VERSATILE
 	select PLAT_VERSATILE_CLCD
 	help
arch/arm/mach-vexpress/include/mach/io.h +0 -1
index 13522d8..5e6b647 100644
@@ -20,7 +20,6 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
-#define __io(a)		__typesafe_io(a)
 #define __mem_pci(a)	(a)
 
 #endif