diff options
Diffstat (limited to 'zephyr/Kconfig.adc')
-rw-r--r-- | zephyr/Kconfig.adc | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/zephyr/Kconfig.adc b/zephyr/Kconfig.adc index a1e3bd63eb..40ec1e4e89 100644 --- a/zephyr/Kconfig.adc +++ b/zephyr/Kconfig.adc @@ -1,17 +1,9 @@ -# 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. -menuconfig PLATFORM_EC_ADC - bool "ADC shim" - default n if ARCH_POSIX - default y - imply ADC - help - Enable compilation of the EC ADC module. Once enabled, it is - possible to call platform/ec adc_read_channel() function. - -if PLATFORM_EC_ADC +# Note - CONFIG_ADC is defined in upstream Zephyr +if ADC # Chromium EC provides it's own "adc" command. Disable the Zephyr # built-in ADC shell command. @@ -59,4 +51,4 @@ config PLATFORM_EC_ADC_CHANNELS_RUNTIME_CONFIG Without this, multiple EC images would need to be installed depending on the board. -endif # PLATFORM_EC_ADC +endif # ADC |