[openwrt/openwrt] uboot-stm32: add STM32MP157C-DK2 support
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 19 09:46:46 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/01fc5fadab060f1dcbc468cd172d758ae001d12c
commit 01fc5fadab060f1dcbc468cd172d758ae001d12c
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Wed Jan 15 08:27:53 2025 +0100
uboot-stm32: add STM32MP157C-DK2 support
Add entry for STM32MP157C-DK2 and the SCMI variant.
Signed-off-by: Thomas Richard <thomas.richard at bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/18119
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/boot/uboot-stm32/Makefile | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/package/boot/uboot-stm32/Makefile b/package/boot/uboot-stm32/Makefile
index 6234827a28..f6f458f5c7 100644
--- a/package/boot/uboot-stm32/Makefile
+++ b/package/boot/uboot-stm32/Makefile
@@ -28,13 +28,33 @@ define U-Boot/stm32mp13
UBOOT_CONFIG:=stm32mp13
endef
+define U-Boot/stm32mp15
+ BUILD_SUBTARGET:=stm32mp1
+ UBOOT_CONFIG:=stm32mp15
+endef
+
define U-Boot/stm32mp135f-dk
$(call U-Boot/stm32mp13)
NAME:=STM32MP135F-DK
DEVICE_TREE:=stm32mp135f-dk
endef
-UBOOT_TARGETS := stm32mp135f-dk
+define U-Boot/stm32mp157c-dk2
+ $(call U-Boot/stm32mp15)
+ NAME:=STM32MP157C-DK2
+ DEVICE_TREE:=stm32mp157c-dk2
+endef
+
+define U-Boot/stm32mp157c-dk2-scmi
+ $(call U-Boot/stm32mp15)
+ NAME:=STM32MP157C-DK2 (SCMI)
+ DEVICE_TREE:=stm32mp157c-dk2-scmi
+endef
+
+UBOOT_TARGETS := \
+ stm32mp135f-dk \
+ stm32mp157c-dk2 \
+ stm32mp157c-dk2-scmi
UBOOT_MAKE_FLAGS += DEVICE_TREE=$(DEVICE_TREE)
More information about the lede-commits
mailing list