arm-trusted-firmware-mediatek: add emmc/spim-nand ddr4 build for mt7981
authorTianling Shen <cnsztl@immortalwrt.org>
Sat, 23 Sep 2023 07:00:41 +0000 (15:00 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 28 Oct 2023 17:05:07 +0000 (19:05 +0200)
They will be used on CMCC RAX3000M.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
package/boot/arm-trusted-firmware-mediatek/Makefile

index f77f3059112f2e9c959ce5dfd47bc33fd7006382..50ca21e60f59e48d1300eaff54fcb66296b46b0d 100644 (file)
@@ -94,6 +94,22 @@ define Trusted-Firmware-A/mt7622-sdmmc-2ddr
   DDR3_FLYBY:=1
 endef
 
+define Trusted-Firmware-A/mt7981-emmc-ddr4
+  NAME:=MediaTek MT7981 (eMMC, DDR4)
+  BOOT_DEVICE:=emmc
+  BUILD_SUBTARGET:=filogic
+  PLAT:=mt7981
+  DDR_TYPE:=ddr4
+endef
+
+define Trusted-Firmware-A/mt7981-spim-nand-ddr4
+  NAME:=MediaTek MT7981 (SPI-NAND via SPIM, DDR4)
+  BOOT_DEVICE:=spim-nand
+  BUILD_SUBTARGET:=filogic
+  PLAT:=mt7981
+  DDR_TYPE:=ddr4
+endef
+
 define Trusted-Firmware-A/mt7981-nor-ddr3
   NAME:=MediaTek MT7981 (SPI-NOR, DDR3)
   BOOT_DEVICE:=nor
@@ -349,6 +365,8 @@ TFA_TARGETS:= \
        mt7981-sdmmc-ddr3 \
        mt7981-snand-ddr3 \
        mt7981-spim-nand-ddr3 \
+       mt7981-emmc-ddr4 \
+       mt7981-spim-nand-ddr4 \
        mt7986-emmc-ddr3 \
        mt7986-nor-ddr3 \
        mt7986-sdmmc-ddr3 \