[openwrt/openwrt] arm-trusted-firmware-mediatek: add mt7986-spim-nand-ubi-ddr4

LEDE Commits lede-commits at lists.infradead.org
Thu Feb 15 11:35:11 PST 2024


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/91b55ca4c87b6873a10b5361930939d276c72779

commit 91b55ca4c87b6873a10b5361930939d276c72779
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Thu Jan 18 22:10:42 2024 +0000

    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 <daniel at makrotopia.org>
---
 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 bfa0b785dd..b1de9e10a0 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 \




More information about the lede-commits mailing list