[openwrt/openwrt] optee-os-stm32: add STM32MP157C-DK2 support

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 19 09:46:45 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/755e35f5bde70bc4d9eb6601ebea7f9c275f463f

commit 755e35f5bde70bc4d9eb6601ebea7f9c275f463f
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Wed Jan 15 08:27:44 2025 +0100

    optee-os-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/optee-os-stm32/Makefile | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

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




More information about the lede-commits mailing list