diff options
author | Shaocheng Wang <shaocheng.wang@mediatek.corp-partner.google.com> | 2022-07-05 15:42:21 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-07-13 10:42:56 +0000 |
commit | 1ad10ee7a55303e4b7a32036d4ba94aae43bb397 (patch) | |
tree | 0fdadb86e19504d51dfe3a751192e896951beca4 /src/mainboard/google/geralt/mainboard.c | |
parent | 15e5a3be76826cefb8e9708bb08b12070042a9f2 (diff) |
mb/google/geralt: add usb host support
Add usb host function support.
TEST=read usb data successfully.
BUG=b:236331724
Signed-off-by: Shaocheng Wang <shaocheng.wang@mediatek.corp-partner.google.com>
Change-Id: I52174306eb0c87c6e5a3665051099b5c0e8f45a0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65755
Reviewed-by: Yidi Lin <yidilin@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/geralt/mainboard.c')
-rw-r--r-- | src/mainboard/google/geralt/mainboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/geralt/mainboard.c b/src/mainboard/google/geralt/mainboard.c index af12d21776..195ce67e5a 100644 --- a/src/mainboard/google/geralt/mainboard.c +++ b/src/mainboard/google/geralt/mainboard.c @@ -1,10 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <device/device.h> +#include <soc/usb.h> static void mainboard_init(struct device *dev) { - /* TODO: add mainboard init */ + setup_usb_host(); } static void mainboard_enable(struct device *dev) |