diff options
-rw-r--r-- | board/lars/board.c | 4 | ||||
-rw-r--r-- | board/lars/board.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/board/lars/board.c b/board/lars/board.c index 91b9bd46da..0a9b5ea0ed 100644 --- a/board/lars/board.c +++ b/board/lars/board.c @@ -499,8 +499,6 @@ void board_set_charge_limit(int charge_ma) /* Enable touchpad on chipset startup so that it can wake the system */ static void board_chipset_startup(void) { - gpio_set_level(GPIO_USB1_ENABLE, 1); - gpio_set_level(GPIO_USB2_ENABLE, 1); gpio_set_level(GPIO_ENABLE_TOUCHPAD, 1); } DECLARE_HOOK(HOOK_CHIPSET_STARTUP, board_chipset_startup, @@ -509,8 +507,6 @@ DECLARE_HOOK(HOOK_CHIPSET_STARTUP, board_chipset_startup, /* Disable touchpad on chipset shutdown as it is no longer useful */ static void board_chipset_shutdown(void) { - gpio_set_level(GPIO_USB1_ENABLE, 0); - gpio_set_level(GPIO_USB2_ENABLE, 0); gpio_set_level(GPIO_ENABLE_TOUCHPAD, 0); } DECLARE_HOOK(HOOK_CHIPSET_SHUTDOWN, board_chipset_shutdown, diff --git a/board/lars/board.h b/board/lars/board.h index e2bd796c24..95f72d5901 100644 --- a/board/lars/board.h +++ b/board/lars/board.h @@ -80,6 +80,11 @@ #define CONFIG_USBC_SS_MUX #define CONFIG_USBC_SS_MUX_DFP_ONLY #define CONFIG_USBC_VCONN + +/* USB-A ports */ +#define USB_PORT_COUNT 2 +#define CONFIG_USB_PORT_POWER_DUMB + #define CONFIG_VBOOT_HASH #define CONFIG_SPI_FLASH_PORT 1 |