summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-09 16:17:48 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-18 04:49:51 +0000
commit4e46928787f5a6c3175998409e82ca9f363d6866 (patch)
treedabcc1d355866be63ed24204c3a186250f8f0d58
parent4e4b79c7e72ef6d88aba0d07b15564191a8eb09d (diff)
downloadchrome-ec-4e46928787f5a6c3175998409e82ca9f363d6866.tar.gz
Revert "tcpm:it83xx: GRL-USB-PD TDA2.1.2.2 BIST test"
This reverts commit 09d4918f464b69390f0c2d12cdd8c6aeafcb2cae. BUG=b:200823466 TEST=make buildall -j Change-Id: Ia3384f0334516dd8b6b01cc78c3dac42128d5752 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273410 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r--common/hooks.c1
-rw-r--r--core/cortex-m/ec.lds.S4
-rw-r--r--core/host/host_exe.lds4
-rw-r--r--include/hooks.h7
-rw-r--r--include/link_defs.h2
5 files changed, 0 insertions, 18 deletions
diff --git a/common/hooks.c b/common/hooks.c
index 42cede67e5..3e940624ed 100644
--- a/common/hooks.c
+++ b/common/hooks.c
@@ -56,7 +56,6 @@ static const struct hook_ptrs hook_list[] = {
#endif
{__hooks_tick, __hooks_tick_end},
{__hooks_second, __hooks_second_end},
- {__hooks_usb_pd_disconnect, __hooks_usb_pd_disconnect_end},
};
/* Times for deferrable functions */
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index 46e1a970cc..3f20cc6c5f 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -258,10 +258,6 @@ SECTIONS
KEEP(*(.rodata.HOOK_SECOND))
__hooks_second_end = .;
- __hooks_usb_pd_disconnect = .;
- KEEP(*(.rodata.HOOK_USB_PD_DISCONNECT))
- __hooks_usb_pd_disconnect_end = .;
-
__deferred_funcs = .;
KEEP(*(.rodata.deferred))
__deferred_funcs_end = .;
diff --git a/core/host/host_exe.lds b/core/host/host_exe.lds
index d67a9d5f5d..45f3560014 100644
--- a/core/host/host_exe.lds
+++ b/core/host/host_exe.lds
@@ -97,10 +97,6 @@ SECTIONS {
*(.rodata.HOOK_SECOND)
__hooks_second_end = .;
- __hooks_usb_pd_disconnect = .;
- *(.rodata.HOOK_USB_PD_DISCONNECT)
- __hooks_usb_pd_disconnect_end = .;
-
__deferred_funcs = .;
*(.rodata.deferred)
__deferred_funcs_end = .;
diff --git a/include/hooks.h b/include/hooks.h
index 98723cc0c7..34115b9420 100644
--- a/include/hooks.h
+++ b/include/hooks.h
@@ -223,13 +223,6 @@ enum hook_type {
* Hook routines will be called from the TICK task.
*/
HOOK_SECOND,
-
- /*
- * Detect USB PD cc disconnect.
- *
- * Hook routines will be called from the PD task.
- */
- HOOK_USB_PD_DISCONNECT,
};
struct hook_data {
diff --git a/include/link_defs.h b/include/link_defs.h
index fee09fa816..71749a6f39 100644
--- a/include/link_defs.h
+++ b/include/link_defs.h
@@ -68,8 +68,6 @@ extern const struct hook_data __hooks_tick[];
extern const struct hook_data __hooks_tick_end[];
extern const struct hook_data __hooks_second[];
extern const struct hook_data __hooks_second_end[];
-extern const struct hook_data __hooks_usb_pd_disconnect[];
-extern const struct hook_data __hooks_usb_pd_disconnect_end[];
/* Deferrable functions and firing times*/
extern const struct deferred_data __deferred_funcs[];