From: Patrick Delaunay Date: Tue, 26 Sep 2023 15:09:22 +0000 (+0200) Subject: configs: stm32mp13: add support of usb boot X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9cf125b1f82e77980bc70c5ca1f4cbf529f4272c;p=u-boot.git configs: stm32mp13: add support of usb boot Add support of USB key boot in distro boot command. Signed-off-by: Patrick Delaunay Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- diff --git a/include/configs/stm32mp13_common.h b/include/configs/stm32mp13_common.h index d36fbf0054..5b0658ced9 100644 --- a/include/configs/stm32mp13_common.h +++ b/include/configs/stm32mp13_common.h @@ -35,9 +35,16 @@ #define BOOT_TARGET_MMC1(func) #endif +#ifdef CONFIG_CMD_USB +#define BOOT_TARGET_USB(func) func(USB, usb, 0) +#else +#define BOOT_TARGET_USB(func) +#endif + #define BOOT_TARGET_DEVICES(func) \ BOOT_TARGET_MMC1(func) \ - BOOT_TARGET_MMC0(func) + BOOT_TARGET_MMC0(func) \ + BOOT_TARGET_USB(func) /* * default bootcmd for stm32mp13: