From 1ad10ee7a55303e4b7a32036d4ba94aae43bb397 Mon Sep 17 00:00:00 2001 From: Shaocheng Wang Date: Tue, 5 Jul 2022 15:42:21 +0800 Subject: 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 Change-Id: I52174306eb0c87c6e5a3665051099b5c0e8f45a0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65755 Reviewed-by: Yidi Lin Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/mainboard/google/geralt/mainboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 +#include static void mainboard_init(struct device *dev) { - /* TODO: add mainboard init */ + setup_usb_host(); } static void mainboard_enable(struct device *dev) -- cgit v1.2.3