Jarried Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84024?usp=email )
Change subject: mb/google/rauru: reset usb hub in bootblock ......................................................................
mb/google/rauru: reset usb hub in bootblock
TEST=build pass. BUG=b:317009620
Change-Id: Iea793b4b04bd009d0354e2331604bccf30466a23 --- M src/mainboard/google/rauru/bootblock.c 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/84024/1
diff --git a/src/mainboard/google/rauru/bootblock.c b/src/mainboard/google/rauru/bootblock.c index a896b72..fb7fcaf 100644 --- a/src/mainboard/google/rauru/bootblock.c +++ b/src/mainboard/google/rauru/bootblock.c @@ -1,9 +1,16 @@ /* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h> +#include "gpio.h" #include <soc/spi.h>
+static void usb3_hub_reset(void) +{ + gpio_output(GPIO(USB_RST), 1); +} + void bootblock_mainboard_init(void) { mtk_snfc_init(); + usb3_hub_reset(); }