summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2024-09-30 13:03:53 +0200
committerMichal Simek <[email protected]>2024-10-25 14:10:31 +0200
commitf346dd67d047ad19f076d901dcc5295a2eb0cdde (patch)
tree918d8f482c1220750dd7282eea72df384e869ca9 /include
parent88f43aa39cd32ef5f102931835c4a29c6892c110 (diff)
arm64: versal: Wire USB0 in distro boot
For unknown reason USB host hasn't been described for distro boot that's why wire it now. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/9715605c232ce38a36a200204c14208b9d76cd83.1727694230.git.michal.simek@amd.com
Diffstat (limited to 'include')
-rw-r--r--include/configs/xilinx_versal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/xilinx_versal.h b/include/configs/xilinx_versal.h
index 212dc9df2a2..64f123424cf 100644
--- a/include/configs/xilinx_versal.h
+++ b/include/configs/xilinx_versal.h
@@ -48,6 +48,12 @@
# define BOOT_TARGET_DEVICES_MMC(func)
#endif
+#if defined(CONFIG_USB_STORAGE)
+# define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0)
+#else
+# define BOOT_TARGET_DEVICES_USB(func)
+#endif
+
#if defined(CONFIG_CMD_PXE) && defined(CONFIG_CMD_DHCP)
# define BOOT_TARGET_DEVICES_PXE(func) func(PXE, pxe, na)
#else
@@ -118,6 +124,7 @@
BOOT_TARGET_DEVICES_XSPI(func) \
BOOT_TARGET_DEVICES_USB_DFU(func) \
BOOT_TARGET_DEVICES_USB_THOR(func) \
+ BOOT_TARGET_DEVICES_USB(func) \
BOOT_TARGET_DEVICES_PXE(func) \
BOOT_TARGET_DEVICES_DHCP(func)