diff options
author | Yuval Peress <peress@google.com> | 2022-01-25 22:34:43 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-03 20:25:54 +0000 |
commit | 1575a36fe1239b24f2bc3d5a42de8a66a4b18cdb (patch) | |
tree | 86e780bd8000e5764bcd136974e89b067796adbc | |
parent | e3f4f7e00b318ed6fb6667e5f5ca2cf2f30209c6 (diff) | |
download | chrome-ec-1575a36fe1239b24f2bc3d5a42de8a66a4b18cdb.tar.gz |
zephyr: make _BMI and _ICM Kconfigs implicit
Removing the prompt text makes these fields implicit and not
configurable from a prj.conf file.
BRANCH=none
BUG=b:208437221
TEST=zmake testall
Signed-off-by: Yuval Peress <peress@google.com>
Change-Id: I1df5c04eefcc05206d78885ad6cf28556d556248
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3415388
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r-- | zephyr/Kconfig.sensor_devices | 16 | ||||
-rw-r--r-- | zephyr/projects/corsola/prj_kingler.conf | 1 |
2 files changed, 8 insertions, 9 deletions
diff --git a/zephyr/Kconfig.sensor_devices b/zephyr/Kconfig.sensor_devices index 7087be2f0f..45d2da7021 100644 --- a/zephyr/Kconfig.sensor_devices +++ b/zephyr/Kconfig.sensor_devices @@ -5,19 +5,19 @@ menu "Sensor Devices" config PLATFORM_EC_ACCELGYRO_BMI - bool "Config used to include common accelgyro BMI features" + bool select PLATFORM_EC_MATH_UTIL help - Do not set this directly in a .conf file. This value should be set - using an `select` statement in other BMI family of drivers such as - BMI260. + This config does not contain a prompt on purpose, it cannot be set + directly from a .conf file. This value should be set using an `select` + statement in other BMI family of drivers such as BMI260. config PLATFORM_EC_ACCELGYRO_ICM - bool "Config used to include common accelgyro ICM features" + bool help - Do not set this directly in a .conf file. This value should be set - using an `select` statement in other ICM family of drivers such as - ICM426XX. + This config does not contain a prompt on purpose, it cannot be set + directly from a .conf file. This value should be set using an `select` + statement in other BMI family of drivers such as ICM426XX. config PLATFORM_EC_ACCEL_BMA255 bool "BMA2X2 Accelerometer Family Driver" diff --git a/zephyr/projects/corsola/prj_kingler.conf b/zephyr/projects/corsola/prj_kingler.conf index 7da63fb9c0..fb3c64fb8f 100644 --- a/zephyr/projects/corsola/prj_kingler.conf +++ b/zephyr/projects/corsola/prj_kingler.conf @@ -82,7 +82,6 @@ CONFIG_PLATFORM_EC_VOLUME_BUTTONS=y # Sensors CONFIG_PLATFORM_EC_ACCELGYRO_BMI3XX=y -CONFIG_PLATFORM_EC_ACCELGYRO_BMI=y CONFIG_PLATFORM_EC_ACCELGYRO_BMI_COMM_I2C=y CONFIG_PLATFORM_EC_ACCEL_FIFO=y CONFIG_PLATFORM_EC_ACCEL_INTERRUPTS=y |