commit | 8c29b73278d66c029b98caecba81831ef6dc472a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri May 05 20:03:04 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Sat May 13 09:52:32 2023 -0400 |
tree | e6aabd26acd9f7bd57733251c26137a248d57749 | |
parent | 9fea3a799dde140f2d75eeb4560a5c3237ca991d [diff] |
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: Simon Glass <sjg@chromium.org> Tested-by: Jonas Karlman <jonas@kwiboo.se> Tested-by: Tom Rini <trini@konsulko.com>