[PATCH 2/2] arm64: versal: Wire USB0 in distro boot

Michal Simek michal.simek at amd.com
Mon Oct 7 09:31:44 CEST 2024



On 9/30/24 13:03, Michal Simek wrote:
> For unknown reason USB host hasn't been described for distro boot that's
> why wire it now.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   include/configs/xilinx_versal.h | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/include/configs/xilinx_versal.h b/include/configs/xilinx_versal.h
> index 212dc9df2a2e..64f123424cf7 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)
>   

Applied.
M


More information about the U-Boot mailing list