summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2021-02-26 12:41:06 -0500
committerTom Rini <[email protected]>2021-02-26 12:41:06 -0500
commita3c6d287bae38c6b342d6c0940df1f45b5c766a6 (patch)
tree547c9b899a0a59134a0147a6611d8fa5fe0531d5 /include
parent99bebbd5b2750fc128d8054213bdd6007dd6436c (diff)
parent1b3db349c011e7905a03126d9a78e1fb9886efb7 (diff)
Merge tag 'u-boot-stm32-20210226' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm
- Add USB host boot support in stm32mp1 config - Enable uefi related commands for STMicroelectronics STM32MP15 boards - Remove duplicate uart nodes in stm32mp15 device tree
Diffstat (limited to 'include')
-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 c5539285af1..36e400453ea 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)
/*