diff options
author | Keith Short <keithshort@chromium.org> | 2022-04-06 11:58:17 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-08 00:54:28 +0000 |
commit | eff19e347d68914d8ef84c021a55f046b5571831 (patch) | |
tree | 4625708eac0d6b7e5380a300589950005ca0fcab /zephyr/Kconfig.i2c | |
parent | 79b9c35043eadcd4435783e88f2e8d2a3656c736 (diff) | |
download | chrome-ec-eff19e347d68914d8ef84c021a55f046b5571831.tar.gz |
zephyr: convert PLATFORM_EC_I2C to a helper symbol
Convert CONFIG_PLATFORM_EC_I2C to a helper symbol that is automatically
enabled if the Zephyr CONFIG_I2C option is enabled.
BUG=b:217926701
BRANCH=none
TEST=zmake testall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I5aab26b0dea609a706b07ed752503f7432848136
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3575084
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Diffstat (limited to 'zephyr/Kconfig.i2c')
-rw-r--r-- | zephyr/Kconfig.i2c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/zephyr/Kconfig.i2c b/zephyr/Kconfig.i2c index 350c347d5c..23ccf88bd0 100644 --- a/zephyr/Kconfig.i2c +++ b/zephyr/Kconfig.i2c @@ -3,10 +3,7 @@ # found in the LICENSE file. config PLATFORM_EC_I2C - bool "I2C shim" - default n if ARCH_POSIX - default y - imply I2C + def_bool I2C help Enable compilation of the EC i2c module. Once enabled, it will be possible to make calls using the old platform/ec i2c APIs defined @@ -18,7 +15,6 @@ if PLATFORM_EC_I2C config PLATFORM_EC_I2C_DEBUG bool "I2C Tracing" - default n if ARCH_POSIX help This option enables I2C bus communication tracing. Use the console command "i2ctrace" to enable and disable tracing on specific I2C @@ -37,7 +33,6 @@ config PLATFORM_EC_I2C_PASSTHRU_RESTRICTED config PLATFORM_EC_I2C_DEBUG_PASSTHRU bool "I2C Passthru Debug" - default n if ARCH_POSIX help This option enables extra debug for I2C passthru operations initiated by the AP. |