diff options
Diffstat (limited to 'board/lindar')
-rw-r--r-- | board/lindar/board.c | 3 | ||||
-rw-r--r-- | board/lindar/board.h | 11 |
2 files changed, 0 insertions, 14 deletions
diff --git a/board/lindar/board.c b/board/lindar/board.c index ce30e301c9..801cd6bb5b 100644 --- a/board/lindar/board.c +++ b/board/lindar/board.c @@ -394,7 +394,6 @@ static const struct tcpc_config_t tcpc_config_p1_usb3 = { }, .flags = TCPC_FLAGS_TCPCI_REV2_0 | TCPC_FLAGS_TCPCI_REV2_0_NO_VSAFE0V, .drv = &ps8xxx_tcpm_drv, - .usb23 = USBC_PORT_1_USB2_NUM | (USBC_PORT_1_USB3_NUM << 4), }; static const struct usb_mux usbc1_usb3_db_retimer = { @@ -479,7 +478,6 @@ struct tcpc_config_t tcpc_config[] = { .addr_flags = TUSB422_I2C_ADDR_FLAGS, }, .drv = &tusb422_tcpm_drv, - .usb23 = USBC_PORT_0_USB2_NUM | (USBC_PORT_0_USB3_NUM << 4), }, [USBC_PORT_C1] = { .bus_type = EC_BUS_TYPE_I2C, @@ -488,7 +486,6 @@ struct tcpc_config_t tcpc_config[] = { .addr_flags = TUSB422_I2C_ADDR_FLAGS, }, .drv = &tusb422_tcpm_drv, - .usb23 = USBC_PORT_1_USB2_NUM | (USBC_PORT_1_USB3_NUM << 4), }, }; BUILD_ASSERT(ARRAY_SIZE(tcpc_config) == USBC_PORT_COUNT); diff --git a/board/lindar/board.h b/board/lindar/board.h index b4f659a5c3..0ad5edf386 100644 --- a/board/lindar/board.h +++ b/board/lindar/board.h @@ -45,17 +45,6 @@ /* USB Type C and USB PD defines */ #define CONFIG_USB_PD_PORT_MAX_COUNT 2 -/* - * USB-C port's USB2 & USB3 mapping from schematics - * USB2 numbering on PCH - 1 to n - * USB3 numbering on AP - 0 to n (PMC's USB3 numbering for MUX - * configuration is - 1 to n hence add +1) - */ -#define USBC_PORT_0_USB2_NUM 9 -#define USBC_PORT_0_USB3_NUM 1 -#define USBC_PORT_1_USB2_NUM 4 -#define USBC_PORT_1_USB3_NUM 2 - #define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */ #define PD_POWER_SUPPLY_TURN_OFF_DELAY 30000 /* us */ #define PD_VCONN_SWAP_DELAY 5000 /* us */ |