summaryrefslogtreecommitdiff
path: root/include/configs/stm32mp1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/stm32mp1.h')
-rw-r--r--include/configs/stm32mp1.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index c5539285af..36e400453e 100644
--- a/include/configs/stm32mp1.h
+++ b/include/configs/stm32mp1.h
@@ -102,11 +102,18 @@
#define BOOT_TARGET_UBIFS(func)
#endif
+#ifdef CONFIG_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_UBIFS(func) \
BOOT_TARGET_MMC0(func) \
BOOT_TARGET_MMC2(func) \
+ BOOT_TARGET_USB(func) \
BOOT_TARGET_PXE(func)
/*