]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
input: Correct dependencies for CROS_EC_KEYB
authorTom Rini <trini@konsulko.com>
Mon, 23 Mar 2026 19:52:56 +0000 (13:52 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 Apr 2026 17:32:43 +0000 (11:32 -0600)
The CROS_EC_KEYB functionality can only work with CROS_EC enabled, so
express this dependency in Kconfig, for all build phases.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/input/Kconfig

index 5bf122c55051433726d0ea5b154699f6ecaf713b..df8fbf1551de19140a0cc1d1075168f84d6c486b 100644 (file)
@@ -64,7 +64,7 @@ config CPCAP_POWER_BUTTON
 
 config CROS_EC_KEYB
        bool "Enable Chrome OS EC keyboard support"
-       depends on INPUT
+       depends on INPUT && CROS_EC
        help
          Most ARM Chromebooks use an EC to provide access to the keyboard.
          Messages are used to request key scans from the EC and these are
@@ -72,7 +72,7 @@ config CROS_EC_KEYB
 
 config SPL_CROS_EC_KEYB
        bool "Enable Chrome OS EC keyboard support in SPL"
-       depends on SPL_INPUT
+       depends on SPL_INPUT && SPL_CROS_EC
        help
          Most ARM Chromebooks use an EC to provide access to the keyboard.
          Messages are used to request key scans from the EC and these are
@@ -80,7 +80,7 @@ config SPL_CROS_EC_KEYB
 
 config TPL_CROS_EC_KEYB
        bool "Enable Chrome OS EC keyboard support in TPL"
-       depends on TPL_INPUT
+       depends on TPL_INPUT && TPL_CROS_EC
        help
          Most ARM Chromebooks use an EC to provide access to the keyboard.
          Messages are used to request key scans from the EC and these are