aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianling Shen <cnsztl@immortalwrt.org>2023-09-23 15:00:41 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2023-11-07 00:43:33 +0100
commitb209f456404ca0a163d0f060945e0b9c9f2517d4 (patch)
treeb6e686674c5c33c83a0d69dcd9cdd899b9483270
parent04cde73d56ebe83f3452c6e4f07cc39e19e8ea38 (diff)
downloadupstream-b209f456404ca0a163d0f060945e0b9c9f2517d4.tar.gz
upstream-b209f456404ca0a163d0f060945e0b9c9f2517d4.tar.bz2
upstream-b209f456404ca0a163d0f060945e0b9c9f2517d4.zip
arm-trusted-firmware-mediatek: add emmc/spim-nand ddr4 build for mt7981
They will be used on CMCC RAX3000M. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> (cherry picked from commit 7d8ffe941dd06a5625f6608516a86938260b01fc)
-rw-r--r--package/boot/arm-trusted-firmware-mediatek/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/boot/arm-trusted-firmware-mediatek/Makefile b/package/boot/arm-trusted-firmware-mediatek/Makefile
index f77f305911..50ca21e60f 100644
--- a/package/boot/arm-trusted-firmware-mediatek/Makefile
+++ b/package/boot/arm-trusted-firmware-mediatek/Makefile
@@ -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 \