summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Richard2025-01-15 07:27:44 +0000
committerHauke Mehrtens2025-04-19 16:40:58 +0000
commit755e35f5bde70bc4d9eb6601ebea7f9c275f463f (patch)
tree69b24257091b7c23a62be0e3fc00736232fe9557
parent355866fc11f557ba2a0fa44205f8207d0f2db0af (diff)
downloadopenwrt-755e35f5bde70bc4d9eb6601ebea7f9c275f463f.tar.gz
optee-os-stm32: add STM32MP157C-DK2 support
Add entry for STM32MP157C-DK2 and the SCMI variant. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/18119 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/boot/optee-os-stm32/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/package/boot/optee-os-stm32/Makefile b/package/boot/optee-os-stm32/Makefile
index e0be8e433e..c9994f790f 100644
--- a/package/boot/optee-os-stm32/Makefile
+++ b/package/boot/optee-os-stm32/Makefile
@@ -34,7 +34,22 @@ define Optee-os/stm32mp135f-dk
PLAT_FLAVOR:=135F_DK
endef
-OPTEE_TARGETS := stm32mp135f-dk
+define Optee-os/stm32mp157c-dk2
+ $(call Optee-os/stm32mp1)
+ NAME:=STM32MP157C-DK2
+ PLAT_FLAVOR:=157C_DK2
+endef
+
+define Optee-os/stm32mp157c-dk2-scmi
+ $(call Optee-os/stm32mp1)
+ NAME:=STM32MP157C-DK2 (SCMI)
+ PLAT_FLAVOR:=157C_DK2_SCMI
+endef
+
+OPTEE_TARGETS := \
+ stm32mp135f-dk \
+ stm32mp157c-dk2 \
+ stm32mp157c-dk2-scmi
define Package/optee-os/install/default
endef