diff options
author | Randall Spangler <rspangler@chromium.org> | 2017-09-01 09:55:18 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-01 16:41:55 -0700 |
commit | 29d8cc67c35c0e8d17400202fb548707bf448218 (patch) | |
tree | 9c281fc5725c2e442881063a3f6068ed23e84a84 /core/cortex-m | |
parent | 536c1e34494afd508552ad29b07d08eeaa3e4b5f (diff) | |
download | chrome-ec-29d8cc67c35c0e8d17400202fb548707bf448218.tar.gz |
Clean up CONFIG_CASE_CLOSED_DEBUG usage
CCD_CHANGE_HOOK should use CONFIG_CASE_CLOSED_DEBUG_V1.
All boards which use chip/g either use both CONFIG_USB_SERIALNO and
CONFIG_CASE_CLOSED_DEBUG or neither of them, so just depend on
CONFIG_USB_SERIALNO.
This is in preparation for making common/case_closed_debug refer only
to the usb_pd_protocol version (with mode=disabled/partial/enabled),
and cr50 will have its own version (with only enabled/disabled, and
tied more closely to CCD config).
No functionality changes.
BUG=none
BRANCH=cr50
TEST=make buildall -j; boot cr50 and see change hook called
Change-Id: I1985c8c48c1a85fed4549402a7b47b8a9cf135d7
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/648067
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'core/cortex-m')
-rw-r--r-- | core/cortex-m/ec.lds.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S index c530012e1f..80b2072834 100644 --- a/core/cortex-m/ec.lds.S +++ b/core/cortex-m/ec.lds.S @@ -198,7 +198,7 @@ SECTIONS KEEP(*(.rodata.HOOK_BATTERY_SOC_CHANGE)) __hooks_battery_soc_change_end = .; -#ifdef CONFIG_CASE_CLOSED_DEBUG +#ifdef CONFIG_CASE_CLOSED_DEBUG_V1 __hooks_ccd_change = .; KEEP(*(.rodata.HOOK_CCD_CHANGE)) __hooks_ccd_change_end = .; |