diff options
author | Mingjin Ge <mingjin.ge@mediatek.corp-partner.google.com> | 2024-01-25 16:01:33 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-08-29 13:52:53 +0000 |
commit | 368b1a30e50e52870ce7ef6361a5c4f4502e1a88 (patch) | |
tree | 572db6034ed0425265b76ba76cffd2bf62d10051 /src/mainboard/google/rauru | |
parent | 1b0ef438db7fa7398fbcc222975a44f7930867f0 (diff) |
mb/google/rauru: Setup USB host in ramstage
Add usb host function support.
TEST=read usb data successfully.
BUG=b:317009620
Signed-off-by: Mingjin Ge <mingjin.ge@mediatek.corp-partner.google.com>
Change-Id: I5d081ff3e7367b87fab5ebdcb148c9005ab583f5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84022
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google/rauru')
-rw-r--r-- | src/mainboard/google/rauru/mainboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/rauru/mainboard.c b/src/mainboard/google/rauru/mainboard.c index af12d21776..195ce67e5a 100644 --- a/src/mainboard/google/rauru/mainboard.c +++ b/src/mainboard/google/rauru/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) |