summaryrefslogtreecommitdiff
path: root/common/system.c
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-09 14:20:52 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-18 04:47:53 +0000
commit5756592f096391483dfdebb94a5953c9e1da7a3b (patch)
tree7ba29606953bd7bf0755d654d130f63bec1ca046 /common/system.c
parentaa07ab0df55dc179abaf21ba591355a02cf99026 (diff)
downloadchrome-ec-5756592f096391483dfdebb94a5953c9e1da7a3b.tar.gz
Revert "USB-PD: Consolidate tcpc_config declarations in usb_pd_tcpm.h"
This reverts commit e69840b434035ae581e31a29efc1a333d0b390da. BUG=b:200823466 TEST=make buildall -j Change-Id: Id49158d639c7a8ee7be70efabe68a54341f19b99 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273380 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'common/system.c')
-rw-r--r--common/system.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/system.c b/common/system.c
index 83baa2e5df..56fdf53155 100644
--- a/common/system.c
+++ b/common/system.c
@@ -352,6 +352,7 @@ const uint8_t *system_get_jump_tag(uint16_t tag, int *version, int *size)
#if defined(CONFIG_USB_POWER_DELIVERY) && !defined(CONFIG_USB_PD_TCPM_STUB) && \
defined(CONFIG_I2C_CONTROLLER)
+extern const struct tcpc_config_t tcpc_config[];
static void system_protect_tcpc_i2c_ports(void)
{