ARM: omap1: use pci_remap_iospace() for omap_cf
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Aug 2019 18:42:29 +0000 (20:42 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 22 Apr 2022 09:08:55 +0000 (11:08 +0200)
commitdf99e7bbbec3180693b3d932a9cbc88346e2a30e
treef352b866d3fc48a72e8e10255bc520ef1fc74962
parentc8b8a93a0a3d3204c9d801d18fb98a5c04ff0b7c
ARM: omap1: use pci_remap_iospace() for omap_cf

The ISA I/O space handling in omap_cf is incompatible with
PCI drivers in a multiplatform kernel, and requires a custom
mach/io.h.

Change the driver to use pci_remap_iospace() like PCI drivers do,
so the generic ioport access can work across platforms.

To actually use that code, we have to select CONFIG_PCI
here.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig
arch/arm/mach-omap1/include/mach/io.h [deleted file]
drivers/pcmcia/omap_cf.c