From 65f48ce4746e7e7435381cfde264a71abf577fc9 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 6 Apr 2024 12:15:34 +0200 Subject: [PATCH] arm-trusted-firmware-mediatek: add mt7981-nor-ddr4 and mt7981-spim-nand-ubi-ddr4 builds Signed-off-by: John Crispin --- .../arm-trusted-firmware-mediatek/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/package/boot/arm-trusted-firmware-mediatek/Makefile b/package/boot/arm-trusted-firmware-mediatek/Makefile index 37d71e183c..ca448bde8a 100644 --- a/package/boot/arm-trusted-firmware-mediatek/Makefile +++ b/package/boot/arm-trusted-firmware-mediatek/Makefile @@ -160,6 +160,14 @@ define Trusted-Firmware-A/mt7981-ram-ddr3 DEFAULT:=TARGET_mediatek_filogic endef +define Trusted-Firmware-A/mt7981-nor-ddr4 + NAME:=MediaTek MT7981 (SPI-NOR, DDR4) + BOOT_DEVICE:=nor + BUILD_SUBTARGET:=filogic + PLAT:=mt7981 + DDR_TYPE:=ddr4 +endef + define Trusted-Firmware-A/mt7981-emmc-ddr3 NAME:=MediaTek MT7981 (eMMC, DDR3) BOOT_DEVICE:=emmc @@ -192,6 +200,15 @@ define Trusted-Firmware-A/mt7981-spim-nand-ddr3 DDR_TYPE:=ddr3 endef +define Trusted-Firmware-A/mt7981-spim-nand-ubi-ddr4 + NAME:=MediaTek MT7981 (SPI-NAND via SPIM, DDR4) + BOOT_DEVICE:=spim-nand + BUILD_SUBTARGET:=filogic + PLAT:=mt7981 + DDR_TYPE:=ddr4 + USE_UBI:=1 +endef + define Trusted-Firmware-A/mt7986-ram-ddr4 NAME:=MediaTek MT7986 (RAM, DDR4) BOOT_DEVICE:=ram @@ -481,7 +498,9 @@ TFA_TARGETS:= \ mt7981-snand-ddr3 \ mt7981-spim-nand-ddr3 \ mt7981-ram-ddr4 \ + mt7981-spim-nand-ubi-ddr4 \ mt7981-emmc-ddr4 \ + mt7981-nor-ddr4 \ mt7981-spim-nand-ddr4 \ mt7986-ram-ddr3 \ mt7986-emmc-ddr3 \ -- 2.30.2