diff options
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2023-09-26 17:09:22 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2023-10-04 13:32:41 +0200 |
commit | 9cf125b1f82e77980bc70c5ca1f4cbf529f4272c (patch) | |
tree | 655c6c9a06ffa6fea0a76a936b175c1bbe5ad4f3 | |
parent | 3ac6cae9440c66fcc62472fc61aae1ae014864e6 (diff) | |
download | u-boot-9cf125b1f82e77980bc70c5ca1f4cbf529f4272c.zip u-boot-9cf125b1f82e77980bc70c5ca1f4cbf529f4272c.tar.gz u-boot-9cf125b1f82e77980bc70c5ca1f4cbf529f4272c.tar.bz2 |
configs: stm32mp13: add support of usb boot
Add support of USB key boot in distro boot command.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
-rw-r--r-- | include/configs/stm32mp13_common.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configs/stm32mp13_common.h b/include/configs/stm32mp13_common.h index d36fbf0..5b0658c 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: |