summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-04-05 22:20:00 +0200
committerArnd Bergmann <arnd@arndb.de>2023-04-05 22:20:00 +0200
commit73afb20716e163cdaf662af30d3597aeaacc6a0b (patch)
tree2b37c7be8260aa3ca1df209c1a8ded4535964da2 /lib
parentscripts: Update the CONFIG_* ignore list in headers_install.sh (diff)
parentKconfig: introduce HAS_IOPORT option and select it as necessary (diff)
downloadlinux-73afb20716e163cdaf662af30d3597aeaacc6a0b.tar.xz
linux-73afb20716e163cdaf662af30d3597aeaacc6a0b.zip
Merge branch 'asm-generic-io' into asm-generic
* asm-generic-io: Kconfig: introduce HAS_IOPORT option and select it as necessary
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index ce2abffb9ed8..5c2da561c516 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -92,6 +92,7 @@ config ARCH_USE_SYM_ANNOTATIONS
config INDIRECT_PIO
bool "Access I/O in non-MMIO mode"
depends on ARM64
+ depends on HAS_IOPORT
help
On some platforms where no separate I/O space exists, there are I/O
hosts which can not be accessed in MMIO mode. Using the logical PIO
@@ -509,6 +510,9 @@ config HAS_IOMEM
depends on !NO_IOMEM
default y
+config HAS_IOPORT
+ bool
+
config HAS_IOPORT_MAP
bool
depends on HAS_IOMEM && !NO_IOPORT_MAP