summaryrefslogtreecommitdiff
path: root/baseboard/zork/baseboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/zork/baseboard.c')
-rw-r--r--baseboard/zork/baseboard.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/baseboard/zork/baseboard.c b/baseboard/zork/baseboard.c
index e5761f4e5b..2a10392077 100644
--- a/baseboard/zork/baseboard.c
+++ b/baseboard/zork/baseboard.c
@@ -29,7 +29,6 @@
#include "gpio.h"
#include "hooks.h"
#include "ioexpander.h"
-#include "ioexpander_nct38xx.h"
#include "i2c.h"
#include "keyboard_scan.h"
#include "lid_switch.h"
@@ -429,21 +428,6 @@ void bc12_interrupt(enum gpio_signal signal)
}
}
-struct ioexpander_config_t ioex_config[] = {
- [USBC_PORT_C0] = {
- .i2c_host_port = I2C_PORT_TCPC0,
- .i2c_slave_addr = NCT38XX_I2C_ADDR1_1_FLAGS,
- .drv = &nct38xx_ioexpander_drv,
- },
- [USBC_PORT_C1] = {
- .i2c_host_port = I2C_PORT_TCPC1,
- .i2c_slave_addr = NCT38XX_I2C_ADDR1_1_FLAGS,
- .drv = &nct38xx_ioexpander_drv,
- },
-};
-BUILD_ASSERT(ARRAY_SIZE(ioex_config) == USBC_PORT_COUNT);
-BUILD_ASSERT(CONFIG_IO_EXPANDER_PORT_COUNT == USBC_PORT_COUNT);
-
const int usb_port_enable[USB_PORT_COUNT] = {
IOEX_EN_USB_A0_5V,
IOEX_EN_USB_A1_5V_DB,