From 91b55ca4c87b6873a10b5361930939d276c72779 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 18 Jan 2024 22:10:42 +0000 Subject: [PATCH] arm-trusted-firmware-mediatek: add mt7986-spim-nand-ubi-ddr4 Add UBI-enabled build for MT7986 with SPIM-NAND and DDR4 for use with the BananaPi R3 board. Signed-off-by: Daniel Golle --- package/boot/arm-trusted-firmware-mediatek/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/boot/arm-trusted-firmware-mediatek/Makefile b/package/boot/arm-trusted-firmware-mediatek/Makefile index bfa0b785dd90..b1de9e10a0b2 100644 --- a/package/boot/arm-trusted-firmware-mediatek/Makefile +++ b/package/boot/arm-trusted-firmware-mediatek/Makefile @@ -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 \ -- 2.30.2