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>
This commit is contained in:
Shaocheng Wang 2022-07-05 15:42:21 +08:00 committed by Felix Held
parent 15e5a3be76
commit 1ad10ee7a5
1 changed files with 2 additions and 1 deletions

View File

@ -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)