blob: 1da791b483db34f9077e977189de89efd1b4dcd4 [file] [log] [blame]
Patrick Georgi02363b52020-05-05 20:48:50 +02001/* This file is part of the coreboot project. */
Patrick Georgiac959032020-05-05 22:49:26 +02002/* SPDX-License-Identifier: GPL-2.0-only */
Nitheesh Sekar69cc4912019-03-27 13:14:02 +05303
4#include <arch/stages.h>
5#include <soc/usb.h>
6
7static void prepare_usb(void)
8{
9 /*
10 * Do DWC3 core and phy reset. Kick these resets off early
11 * so they get atleast 1msec to settle.
12 */
13 reset_usb(HSUSB_HS_PORT_1);
14}
15
16void platform_romstage_main(void)
17{
18 prepare_usb();
19}