]> git.ipfire.org Git - thirdparty/linux.git/commit
hexagon: Don't select GENERIC_IOMAP without HAS_IOPORT support
authorNiklas Schnelle <schnelle@linux.ibm.com>
Thu, 24 Oct 2024 17:54:40 +0000 (19:54 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 28 Oct 2024 21:44:27 +0000 (21:44 +0000)
commitfae41fe16cdd3de091ac13f11a90859918424f95
treed70726c3aa1ab2e667b43a006fdedaa72bc6e5e3
parent6d89ead19946181df1e41d38917fddc951dbd95b
hexagon: Don't select GENERIC_IOMAP without HAS_IOPORT support

In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. As hexagon does not support I/O port access it also
the GENERIC_IOMAP mechanism of dynamically choosing between I/O port and
MMIO access doesn't work so don't select it.

Reviewed-by: Brian Cain <bcain@quicinc.com>
Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/hexagon/Kconfig