[coreboot-gerrit] Change in coreboot[master]: google/kukui: configure USB
Tristan Hsieh (Code Review)
gerrit at coreboot.org
Fri Sep 28 11:19:42 CEST 2018
Tristan Hsieh has uploaded this change for review. ( https://review.coreboot.org/28788
Change subject: google/kukui: configure USB
......................................................................
google/kukui: configure USB
configure USB
BUG=b:80501386
BRANCH=none
TEST=Boots correctly on Kukui
Change-Id: Iec98f3dc1bbf3dda3d28dbefad15339d48608c7e
Signed-off-by: Tristan Shieh <tristan.shieh at mediatek.com>
---
M src/mainboard/google/kukui/mainboard.c
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/28788/1
diff --git a/src/mainboard/google/kukui/mainboard.c b/src/mainboard/google/kukui/mainboard.c
index 9190ee7..e1d8f5f 100644
--- a/src/mainboard/google/kukui/mainboard.c
+++ b/src/mainboard/google/kukui/mainboard.c
@@ -16,6 +16,7 @@
#include <device/device.h>
#include <soc/gpio.h>
#include <soc/mmu_operations.h>
+#include <soc/usb.h>
static void configure_emmc(void)
{
@@ -31,9 +32,15 @@
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)
--
To view, visit https://review.coreboot.org/28788
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iec98f3dc1bbf3dda3d28dbefad15339d48608c7e
Gerrit-Change-Number: 28788
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Hsieh <tristan.shieh at mediatek.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180928/4bc6b413/attachment.html>
More information about the coreboot-gerrit
mailing list