summaryrefslogtreecommitdiff
path: root/zephyr/emul/Kconfig.lis2dw12
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/emul/Kconfig.lis2dw12')
-rw-r--r--zephyr/emul/Kconfig.lis2dw127
1 files changed, 3 insertions, 4 deletions
diff --git a/zephyr/emul/Kconfig.lis2dw12 b/zephyr/emul/Kconfig.lis2dw12
index 2263255418..e74f1f8cf4 100644
--- a/zephyr/emul/Kconfig.lis2dw12
+++ b/zephyr/emul/Kconfig.lis2dw12
@@ -1,12 +1,11 @@
-# Copyright 2021 The Chromium OS Authors. All rights reserved.
+# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-DT_COMPAT_LIS2DW12_EMUL := cros,lis2dw12-emul
-
menuconfig EMUL_LIS2DW12
bool "LIS2DW12 accelerometer emulator"
- default $(dt_compat_enabled,$(DT_COMPAT_LIS2DW12_EMUL))
+ default y
+ depends on DT_HAS_CROS_LIS2DW12_EMUL_ENABLED
depends on I2C_EMUL
select PLATFORM_EC_ACCEL_LIS2DW12
help