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>
This commit is contained in:
Thomas Richard 2025-01-15 08:27:44 +01:00 committed by Hauke Mehrtens
parent 355866fc11
commit 755e35f5bd

View file

@ -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