summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/Kconfig')
-rw-r--r--src/ec/google/chromeec/Kconfig20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/ec/google/chromeec/Kconfig b/src/ec/google/chromeec/Kconfig
index ce96da7b99..c3f04997de 100644
--- a/src/ec/google/chromeec/Kconfig
+++ b/src/ec/google/chromeec/Kconfig
@@ -10,9 +10,25 @@ config EC_GOOGLE_API_ROOT
help
Path to the ec API file (ec/ec_commands.h).
+config EC_GOOGLE_CHROMEEC_I2C
+ depends on EC_GOOGLE_CHROMEEC && !EC_GOOGLE_CHROMEEC_LPC
+ bool
+ default y
+ help
+ Google's Chrome EC via I2C bus.
+
+config EC_GOOGLE_CHROMEEC_I2C_BUS
+ depends on EC_GOOGLE_CHROMEEC_I2C
+ hex "I2C bus for Google's Chrome EC"
+
+config EC_GOOGLE_CHROMEEC_I2C_CHIP
+ depends on EC_GOOGLE_CHROMEEC_I2C
+ hex
+ default 0x1e
+
config EC_GOOGLE_CHROMEEC_LPC
- depends on EC_GOOGLE_CHROMEEC
+ depends on EC_GOOGLE_CHROMEEC && ARCH_X86 # Needs Plug-and-play.
bool
- default y if ARCH_X86
+ default y
help
Google Chrome EC via LPC bus.