arm-trusted-firmware-mediatek: add Cudy DDR4 target

Since there are some similar devices from Cudy (only WR3000P now)
this will allow to create OpenWrt U-Boot layout for all of them
using same DDR4 target.

Signed-off-by: Dmitry Mostovoy <stavultras@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21943
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Dmitry Mostovoy
2026-03-27 11:27:39 +01:00
committed by Robert Marko
parent 7fac892948
commit 1bf57600cf
@@ -272,6 +272,16 @@ define Trusted-Firmware-A/mt7981-cudy-ddr3
FIP_SIZE:=0x200000
endef
define Trusted-Firmware-A/mt7981-cudy-ddr4
NAME:=Cudy (SPI-NAND via SPIM, DDR4)
BOOT_DEVICE:=spim-nand
BUILD_SUBTARGET:=filogic
PLAT:=mt7981
DDR_TYPE:=ddr4
FIP_OFFSET:=0x3c0000
FIP_SIZE:=0x200000
endef
define Trusted-Firmware-A/mt7986-ram-ddr4
NAME:=MediaTek MT7986 (RAM, DDR4)
BOOT_DEVICE:=ram
@@ -710,6 +720,7 @@ TFA_TARGETS:= \
mt7981-sdmmc-ddr4 \
mt7981-spim-nand-ddr4 \
mt7981-cudy-ddr3 \
mt7981-cudy-ddr4 \
mt7986-ram-ddr3 \
mt7986-emmc-ddr3 \
mt7986-nor-ddr3 \