arm-trusted-firmware-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:
parent
01fc5fadab
commit
af585cfcfe
1 changed files with 15 additions and 2 deletions
|
@ -38,7 +38,20 @@ define Trusted-Firmware-A/stm32mp135f-dk
|
|||
DTB_FILE_NAME=stm32mp135f-dk.dtb
|
||||
endef
|
||||
|
||||
TFA_TARGETS := stm32mp135f-dk
|
||||
define Trusted-Firmware-A/stm32mp157c-dk2
|
||||
$(call Trusted-Firmware-A/stm32mp1)
|
||||
NAME:=STM32MP157C-DK2
|
||||
DTB_FILE_NAME=stm32mp157c-dk2.dtb
|
||||
endef
|
||||
|
||||
define Trusted-Firmware-A/stm32mp157c-dk2-scmi
|
||||
$(call Trusted-Firmware-A/stm32mp157c-dk2)
|
||||
NAME:=STM32MP157C-DK2 (SCMI)
|
||||
endef
|
||||
|
||||
TFA_TARGETS := stm32mp135f-dk \
|
||||
stm32mp157c-dk2 \
|
||||
stm32mp157c-dk2-scmi
|
||||
|
||||
TFA_MAKE_FLAGS += \
|
||||
ARCH=aarch32 AARCH32_SP=optee \
|
||||
|
@ -54,7 +67,7 @@ TFA_MAKE_FLAGS += \
|
|||
|
||||
define Package/trusted-firmware-a/install
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(CP) $(PKG_BUILD_DIR)/build/$(PLAT)/release/tf-a-$(BUILD_VARIANT).stm32 \
|
||||
$(CP) $(PKG_BUILD_DIR)/build/$(PLAT)/release/tf-a-$(subst -scmi,,$(BUILD_VARIANT)).stm32 \
|
||||
$(STAGING_DIR_IMAGE)/tf-a-$(BUILD_VARIANT).stm32
|
||||
$(CP) $(PKG_BUILD_DIR)/build/$(PLAT)/release/fip.bin \
|
||||
$(STAGING_DIR_IMAGE)/fip-$(BUILD_VARIANT).bin
|
||||
|
|
Loading…
Reference in a new issue