summaryrefslogtreecommitdiff
path: root/src/ec/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google')
-rw-r--r--src/ec/google/chromeec/Kconfig4
-rw-r--r--src/ec/google/chromeec/i2c_tunnel/Kconfig4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ec/google/chromeec/Kconfig b/src/ec/google/chromeec/Kconfig
index 461587800b..638c011a58 100644
--- a/src/ec/google/chromeec/Kconfig
+++ b/src/ec/google/chromeec/Kconfig
@@ -197,8 +197,4 @@ config EC_GOOGLE_CHROMEEC_SWITCHES
Enable support for Chrome OS mode switches provided by the Chrome OS
EC.
-if EC_GOOGLE_CHROMEEC
-
source "src/ec/google/chromeec/*/Kconfig"
-
-endif
diff --git a/src/ec/google/chromeec/i2c_tunnel/Kconfig b/src/ec/google/chromeec/i2c_tunnel/Kconfig
index 20169fde0f..232725566b 100644
--- a/src/ec/google/chromeec/i2c_tunnel/Kconfig
+++ b/src/ec/google/chromeec/i2c_tunnel/Kconfig
@@ -1,6 +1,10 @@
+if EC_GOOGLE_CHROMEEC
+
config EC_GOOGLE_CHROMEEC_I2C_TUNNEL
bool
depends on HAVE_ACPI_TABLES
help
This enables the Cros EC I2C tunnel driver that is required to fill the
SSDT nodes for the I2C tunnel used by the mainboard.
+
+endif