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>
This commit is contained in:
committed by
Patrice Chotard
parent
3ac6cae944
commit
9cf125b1f8
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user