mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Boot on am33xx without CONFIG_USB will currently fail, as we error-out of arch_misc_init() if no UCLASS_MISC device is found. This requirement was introduced in commit3aec264869("am33xx: board: probe misc drivers to register musb devices"). Instead, only attempt the UCLASS_MISC init if we would expect the MUSB TI device to be present. Add a comment to explain why we're doing the device lookup (which we immediately discard). Fixes:3aec264869("am33xx: board: probe misc drivers to register musb devices") Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Reviewed-by: Tom Rini <trini@konsulko.com>