diff options
author | Ruibin Chang <Ruibin.Chang@ite.com.tw> | 2018-09-03 16:59:05 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-07 07:18:07 -0700 |
commit | 09d4918f464b69390f0c2d12cdd8c6aeafcb2cae (patch) | |
tree | 8e9c5fe4c694d61e587f47d362f9e58eefee1df3 /core/cortex-m/ec.lds.S | |
parent | a38f3f48b4eb046e0015b10b3d09decdff50d560 (diff) | |
download | chrome-ec-09d4918f464b69390f0c2d12cdd8c6aeafcb2cae.tar.gz |
tcpm:it83xx: GRL-USB-PD TDA2.1.2.2 BIST test
In our design once enter BIST test data mode, Hw don't
interrupt Fw due to any Rx received packet. But when port
partner re-connect in this mode, it will cause that our
pd port doesn't respond packet which port partner transmits.
When port partner disconnects, so we need to reset our pd
port protocol layer and PHY to leave BIST test data mode and
let Hw can interrupt Fw. With this modify it can pass
GRL-USB-PD compliance TDA2.1.2.2 test item.
BUG=b:112602596
BRANCH=none
TEST=GRL-USB-PD compliance test.
Change-Id: I30526b5d796e3eabc9af2f524071c98bb0ef5abf
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/1170718
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'core/cortex-m/ec.lds.S')
-rw-r--r-- | core/cortex-m/ec.lds.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S index df7aea5fde..5b628f897f 100644 --- a/core/cortex-m/ec.lds.S +++ b/core/cortex-m/ec.lds.S @@ -223,6 +223,10 @@ 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 = .; |