diff options
author | Name <poornima.tom@intel.com> | 2020-07-22 16:05:51 +0530 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-07 22:34:30 +0000 |
commit | a8dec10c9da00eca5284ee34246fdeadf1ba9179 (patch) | |
tree | 3124d09cef8650f779fac35b8e3d721d07d26114 /baseboard/intelrvp/ite_ec.c | |
parent | c96da499286bbe66e767db6768fb9b67057d13ea (diff) | |
download | chrome-ec-a8dec10c9da00eca5284ee34246fdeadf1ba9179.tar.gz |
intelrvp: Move board specific changes to respective board files
Move board specific GPIO definitions and TCPC configuration
from baseboard to JSL/TGL boards to accommodate changes in
MECC spec 0.9 vs 1.0.
BRANCH=None
BUG=b:169551130
TEST=make buildall -j
Signed-off-by: pandeyan <anshuman.pandey@intel.com>
Change-Id: I53a0545674f22e6cba05f777a4095909c231cfd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2435174
Commit-Queue: Poornima Tom <poornima.tom@intel.com>
Tested-by: Poornima Tom <poornima.tom@intel.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'baseboard/intelrvp/ite_ec.c')
-rw-r--r-- | baseboard/intelrvp/ite_ec.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/baseboard/intelrvp/ite_ec.c b/baseboard/intelrvp/ite_ec.c index 2a847e5132..a575aab417 100644 --- a/baseboard/intelrvp/ite_ec.c +++ b/baseboard/intelrvp/ite_ec.c @@ -13,29 +13,6 @@ #include "timer.h" #include "usb_pd_tcpm.h" -/* USB-C TPCP Configuration */ -const struct tcpc_config_t tcpc_config[] = { - [TYPE_C_PORT_0] = { - .bus_type = EC_BUS_TYPE_EMBEDDED, - /* TCPC is embedded within EC so no i2c config needed */ - .drv = &it83xx_tcpm_drv, -#ifdef CONFIG_INTEL_VIRTUAL_MUX - .usb23 = TYPE_C_PORT_0_USB2_NUM | (TYPE_C_PORT_0_USB3_NUM << 4), -#endif - }, -#ifdef HAS_TASK_PD_C1 - [TYPE_C_PORT_1] = { - .bus_type = EC_BUS_TYPE_EMBEDDED, - /* TCPC is embedded within EC so no i2c config needed */ - .drv = &it83xx_tcpm_drv, -#ifdef CONFIG_INTEL_VIRTUAL_MUX - .usb23 = TYPE_C_PORT_1_USB2_NUM | (TYPE_C_PORT_1_USB3_NUM << 4), -#endif - }, -#endif /* HAS_TASK_PD_C1 */ -}; -BUILD_ASSERT(ARRAY_SIZE(tcpc_config) == CONFIG_USB_PD_PORT_MAX_COUNT); - /* Reset PD MCU */ void board_reset_pd_mcu(void) { |