Commit d33d2255 authored by Niklas Schnelle's avatar Niklas Schnelle Committed by Tzung-Bi Shih
Browse files

platform/chrome: add HAS_IOPORT dependencies



In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. We thus need to add HAS_IOPORT as dependency for those
drivers using them.

Co-developed-by: default avatarArnd Bergmann <arnd@kernel.org>
Signed-off-by: default avatarArnd Bergmann <arnd@kernel.org>
Signed-off-by: default avatarNiklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20240405134151.5560-2-schnelle@linux.ibm.com


Signed-off-by: default avatarTzung-Bi Shih <tzungbi@kernel.org>
parent 945c7c6d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -132,6 +132,7 @@ config CROS_EC_UART
config CROS_EC_LPC
	tristate "ChromeOS Embedded Controller (LPC)"
	depends on CROS_EC && ACPI && (X86 || COMPILE_TEST)
	depends on HAS_IOPORT
	help
	  If you say Y here, you get support for talking to the ChromeOS EC
	  over an LPC bus, including the LPC Microchip EC (MEC) variant.
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ config WILCO_EC
	tristate "ChromeOS Wilco Embedded Controller"
	depends on X86 || COMPILE_TEST
	depends on ACPI && CROS_EC_LPC && LEDS_CLASS
	depends on HAS_IOPORT
	help
	  If you say Y here, you get support for talking to the ChromeOS
	  Wilco EC over an eSPI bus. This uses a simple byte-level protocol