diff options
Diffstat (limited to 'board/tglrvpu_ite')
-rw-r--r-- | board/tglrvpu_ite/board.c | 2 | ||||
-rw-r--r-- | board/tglrvpu_ite/board.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/tglrvpu_ite/board.c b/board/tglrvpu_ite/board.c index c98e5035e7..93a7d18984 100644 --- a/board/tglrvpu_ite/board.c +++ b/board/tglrvpu_ite/board.c @@ -71,7 +71,7 @@ const struct tcpc_gpio_config_t tcpc_gpios[] = { }, }, }; -BUILD_ASSERT(ARRAY_SIZE(tcpc_gpios) == CONFIG_USB_PD_PORT_COUNT); +BUILD_ASSERT(ARRAY_SIZE(tcpc_gpios) == CONFIG_USB_PD_PORT_MAX_COUNT); /* I2C ports */ const struct i2c_port_t i2c_ports[] = { diff --git a/board/tglrvpu_ite/board.h b/board/tglrvpu_ite/board.h index 9a050d2d5c..df6b892c5d 100644 --- a/board/tglrvpu_ite/board.h +++ b/board/tglrvpu_ite/board.h @@ -35,7 +35,7 @@ #define CONFIG_DEDICATED_CHARGE_PORT_COUNT 1 /* USB ports */ -#define CONFIG_USB_PD_PORT_COUNT 2 +#define CONFIG_USB_PD_PORT_MAX_COUNT 2 #define DEDICATED_CHARGE_PORT 2 /* USB-C port's USB2 & USB3 port numbers */ |