arm-trusted-firmware-mediatek: add mt7986-spim-nand-ubi-ddr4
authorDaniel Golle <daniel@makrotopia.org>
Thu, 18 Jan 2024 22:10:42 +0000 (22:10 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 15 Feb 2024 19:30:08 +0000 (19:30 +0000)
Add UBI-enabled build for MT7986 with SPIM-NAND and DDR4 for use with
the BananaPi R3 board.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/boot/arm-trusted-firmware-mediatek/Makefile

index bfa0b785dd90e64da1b089b2ef07e24a18840483..b1de9e10a0b24dad5addf1dc06448c76816d5b9b 100644 (file)
@@ -193,6 +193,16 @@ define Trusted-Firmware-A/mt7986-spim-nand-ddr4
   NAND_TYPE:=spim:2k+64
 endef
 
+define Trusted-Firmware-A/mt7986-spim-nand-ubi-ddr4
+  NAME:=MediaTek MT7986 (SPI-NAND via SPIM using UBI, DDR4)
+  BOOT_DEVICE:=spim-nand
+  BUILD_SUBTARGET:=filogic
+  PLAT:=mt7986
+  DDR_TYPE:=ddr4
+  NAND_TYPE:=spim:2k+64
+  USE_UBI:=1
+endef
+
 define Trusted-Firmware-A/mt7986-spim-nand-4k-ddr4
   NAME:=MediaTek MT7986 (SPI-NAND via SPIM, DDR4)
   BOOT_DEVICE:=spim-nand
@@ -406,6 +416,7 @@ TFA_TARGETS:= \
        mt7986-sdmmc-ddr4 \
        mt7986-snand-ddr4 \
        mt7986-spim-nand-ddr4 \
+       mt7986-spim-nand-ubi-ddr4 \
        mt7986-spim-nand-4k-ddr4 \
        mt7988-emmc-ddr3 \
        mt7988-nor-ddr3 \