mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-27 21:11:14 +04:00
arm-trusted-firmware-mediatek: add MT7987 SPI2 4k+256 UBI variant
The existing mt7987-spim-nand2-ubi-comb builds a BROM header for a 2k+64 NAND. Boards with a 4 KiB page part need spim:4k+256 instead, or the BROM cannot read BL2. Add a variant that keeps the SPI2 and UBI settings and selects the 4k+256 header, following the mt7986-spim-nand-4k-ddr3 and -ddr4 naming. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
1 parent
b09cbfe7d2
commit
39d736d491
1 file changed
+11
@@ -513,6 +513,16 @@ define Trusted-Firmware-A/mt7987-spim-nand2-ubi-comb
|
||||
USE_UBI:=1
|
||||
endef
|
||||
|
||||
define Trusted-Firmware-A/mt7987-spim-nand2-4k-ubi-comb
|
||||
NAME:=MediaTek MT7987 (SPI-NAND 4k+256 via SPIM, UBI)
|
||||
BOOT_DEVICE:=spim-nand
|
||||
BUILD_SUBTARGET:=filogic
|
||||
PLAT:=mt7987
|
||||
USE_SPI2:=1
|
||||
USE_UBI:=1
|
||||
NAND_TYPE:=spim:4k+256
|
||||
endef
|
||||
|
||||
define Trusted-Firmware-A/mt7987-ram-comb
|
||||
NAME:=MediaTek MT7987 (RAM)
|
||||
BOOT_DEVICE:=ram
|
||||
@@ -775,6 +785,7 @@ TFA_TARGETS:= \
|
||||
mt7987-spim-nand0 \
|
||||
mt7987-spim-nand0-ubi-comb \
|
||||
mt7987-spim-nand2-ubi-comb \
|
||||
mt7987-spim-nand2-4k-ubi-comb \
|
||||
mt7987-ram-comb \
|
||||
mt7988-emmc-ddr3 \
|
||||
mt7988-nor-ddr3 \
|
||||
|
||||
Reference in new issue
Block a user