diff options
author | Bill Richardson <wfrichar@chromium.org> | 2015-05-01 10:11:27 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-05-01 22:00:31 +0000 |
commit | 5fc0cf5a8994b143f0385886fe4f4c03a3b9b9d3 (patch) | |
tree | 04728a328086fa25cd2e46215059b9652112936d | |
parent | 99737a2fefa7eab7c63cddd31bea7afdf717620c (diff) | |
download | chrome-ec-5fc0cf5a8994b143f0385886fe4f4c03a3b9b9d3.tar.gz |
cleanup: remove/rename unused CONFIG_ options
These CONFIG_ options in include/config.h are not used or
referenced anywhere else in the code:
CONFIG_ADC_CLOCK
CONFIG_USB_PD_IDENTITY_HW_ID
CONFIG_USB_PD_IDENTITY_SW_ID
The first one is real, but the other two are just the wrong names.
They should be:
CONFIG_USB_PD_IDENTITY_HW_VERS
CONFIG_USB_PD_IDENTITY_SW_VERS
This CL removes the unused option and fixes the names of the
others.
BUG=none
BRANCH=none
TEST=make buildall
Change-Id: I0f6279f362a7aa214ff9b17a2b24b776588a210e
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/268791
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
-rw-r--r-- | include/config.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/config.h b/include/config.h index 68eb3cf531..10d335f9ff 100644 --- a/include/config.h +++ b/include/config.h @@ -45,12 +45,6 @@ /* Compile chip support for analog-to-digital convertor */ #undef CONFIG_ADC -/* - * ADC module has certain clock requirement. If this is defined, the ADC module - * should call clock_enable_module() to configure clock for ADC. - */ -#undef CONFIG_ADC_CLOCK - /* ADC sample time selection. The value is chip-dependent. */ #undef CONFIG_ADC_SAMPLE_TIME @@ -1283,8 +1277,8 @@ #undef CONFIG_USB_PD_HOST_EVENT_ON_POWER_CHANGE /* HW & SW version for alternate mode discover identity response (4bits each) */ -#undef CONFIG_USB_PD_IDENTITY_HW_ID -#undef CONFIG_USB_PD_IDENTITY_SW_ID +#undef CONFIG_USB_PD_IDENTITY_HW_VERS +#undef CONFIG_USB_PD_IDENTITY_SW_VERS /* USB PD MCU slave address for host commands */ #define CONFIG_USB_PD_I2C_SLAVE_ADDR 0x3c |