Skip to content
Commit 8c29b732 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

bootstd: usb: Avoid initing USB twice



This causes crashes on some boards, e.g. rockpro64. In any case, we
should not do it.

Check the usb_started flag to avoid this.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarJonas Karlman <jonas@kwiboo.se>
Tested-by: default avatarTom Rini <trini@konsulko.com>
parent 9fea3a79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment