From 71ae582f71818f9107b943479899c5548f763975 Mon Sep 17 00:00:00 2001 From: Tristan Shieh Date: Wed, 26 Sep 2018 14:33:54 +0800 Subject: google/kukui: Configure USB Set up USB host controller. BUG=b:80501386 BRANCH=none TEST=Boots correctly on Kukui Change-Id: Iec98f3dc1bbf3dda3d28dbefad15339d48608c7e Signed-off-by: Tristan Shieh Reviewed-on: https://review.coreboot.org/28788 Tested-by: build bot (Jenkins) Reviewed-by: Joel Kitching Reviewed-by: Hung-Te Lin --- src/mainboard/google/kukui/mainboard.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mainboard/google/kukui/mainboard.c b/src/mainboard/google/kukui/mainboard.c index 9190ee7e6e..e1d8f5fb8d 100644 --- a/src/mainboard/google/kukui/mainboard.c +++ b/src/mainboard/google/kukui/mainboard.c @@ -16,6 +16,7 @@ #include #include #include +#include static void configure_emmc(void) { @@ -31,9 +32,15 @@ static void configure_emmc(void) gpio_set_pull(emmc_pin[i], GPIO_PULL_ENABLE, GPIO_PULL_UP); } +static void configure_usb(void) +{ + setup_usb_host(); +} + static void mainboard_init(struct device *dev) { configure_emmc(); + configure_usb(); } static void mainboard_enable(struct device *dev) -- cgit v1.2.3