diff options
Diffstat (limited to 'baseboard/intelrvp/retimer.c')
-rw-r--r-- | baseboard/intelrvp/retimer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/baseboard/intelrvp/retimer.c b/baseboard/intelrvp/retimer.c index 33ada53254..2759e13dde 100644 --- a/baseboard/intelrvp/retimer.c +++ b/baseboard/intelrvp/retimer.c @@ -11,25 +11,25 @@ /* USB Retimers configuration */ #ifdef CONFIG_USBC_RETIMER_INTEL_BB -struct bb_retimer bb_retimers[CONFIG_USB_PD_PORT_MAX_COUNT] = { +struct usb_retimer usb_retimers[CONFIG_USB_PD_PORT_MAX_COUNT] = { [TYPE_C_PORT_0] = { + .driver = &bb_usb_retimer, .i2c_port = I2C_PORT0_BB_RETIMER, - .i2c_addr = I2C_PORT0_BB_RETIMER_ADDR, - .shared_nvm = USB_PORT0_BB_RETIMER_SHARED_NVM, + .i2c_addr_flags = I2C_PORT0_BB_RETIMER_ADDR, .usb_ls_en_gpio = GPIO_USB_C0_LS_EN, .retimer_rst_gpio = GPIO_USB_C0_RETIMER_RST, .force_power_gpio = GPIO_USB_C0_RETIMER_FORCE_PWR, }, #ifdef HAS_TASK_PD_C1 [TYPE_C_PORT_1] = { + .driver = &bb_usb_retimer, .i2c_port = I2C_PORT1_BB_RETIMER, - .i2c_addr = I2C_PORT1_BB_RETIMER_ADDR, - .shared_nvm = USB_PORT1_BB_RETIMER_SHARED_NVM, + .i2c_addr_flags = I2C_PORT1_BB_RETIMER_ADDR, .usb_ls_en_gpio = GPIO_USB_C1_LS_EN, .retimer_rst_gpio = GPIO_USB_C1_RETIMER_RST, .force_power_gpio = GPIO_USB_C1_RETIMER_FORCE_PWR, }, #endif /* HAS_TASK_PD_C1 */ }; -BUILD_ASSERT(ARRAY_SIZE(bb_retimers) == CONFIG_USB_PD_PORT_MAX_COUNT); +BUILD_ASSERT(ARRAY_SIZE(usb_retimers) == CONFIG_USB_PD_PORT_MAX_COUNT); #endif /* CONFIG_USBC_RETIMER_INTEL_BB */ |