diff options
Diffstat (limited to 'zephyr/emul/Kconfig.i2c_mock')
-rw-r--r-- | zephyr/emul/Kconfig.i2c_mock | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/zephyr/emul/Kconfig.i2c_mock b/zephyr/emul/Kconfig.i2c_mock index 6c98a32739..9bc75d961c 100644 --- a/zephyr/emul/Kconfig.i2c_mock +++ b/zephyr/emul/Kconfig.i2c_mock @@ -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_I2C_MOCK := cros,i2c-mock - menuconfig I2C_MOCK bool "Mock implementation of an I2C device" - default $(dt_compat_enabled,$(DT_COMPAT_I2C_MOCK)) + default y + depends on DT_HAS_CROS_I2C_MOCK_ENABLED depends on I2C_EMUL help Enable the I2C mock. This driver is a pure mock and does nothing by |