diff --git a/board/kahlee/board.c b/board/kahlee/board.c index 242c6fa1d7..8672e96643 100644 --- a/board/kahlee/board.c +++ b/board/kahlee/board.c @@ -178,7 +178,7 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_COUNT] = { }, [1] = { .i2c_host_port = NPCX_I2C_PORT0_1, - .i2c_slave_addr = 0x36, + .i2c_slave_addr = 0x16, .drv = &tcpci_tcpm_drv, .pol = TCPC_ALERT_ACTIVE_LOW, }, @@ -245,20 +245,6 @@ void board_reset_pd_mcu(void) gpio_set_level(GPIO_USB_C0_PD_RST_ODL, 1); } -#ifdef CONFIG_USB_PD_TCPC_FW_VERSION -void board_print_tcpc_fw_version(int port) -{ - int rv; - int version; - - if (port >= 0) - rv = ps8751_tcpc_get_fw_version(port, &version); - - if (!rv) - CPRINTS("TCPC p%d FW VER: 0x%x", port, version); -} -#endif - void board_tcpc_init(void) { int port, reg, reg2; diff --git a/board/kahlee/board.h b/board/kahlee/board.h index 7c8b790899..8e76d2c4c0 100644 --- a/board/kahlee/board.h +++ b/board/kahlee/board.h @@ -74,7 +74,6 @@ #undef CONFIG_USB_PD_VBUS_DETECT_CHARGER #define ADC_VBUS -1 #define CONFIG_USB_PD_TCPC_LOW_POWER -#define CONFIG_USB_PD_TCPC_FW_VERSION #define CONFIG_USB_PD_TCPM_MUX #define CONFIG_USB_PD_TCPM_PS8751 #define CONFIG_USB_PD_TCPM_TCPCI @@ -292,8 +291,6 @@ void board_reset_pd_mcu(void); int board_get_version(void); -void board_print_tcpc_fw_version(int port); - #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ diff --git a/include/config.h b/include/config.h index b94fef6eeb..b65b24f21b 100644 --- a/include/config.h +++ b/include/config.h @@ -2395,9 +2395,6 @@ /* USB Device version of product */ #undef CONFIG_USB_BCD_DEV -/* Support TCPC FW version */ -#undef CONFIG_USB_PD_TCPC_FW_VERSION - /*****************************************************************************/ /* Compile chip support for the USB device controller */