summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Mostovoy2026-02-09 09:51:15 +0000
committerRobert Marko2026-05-08 08:20:53 +0000
commit79359ffe478d5bbcfe4cf4b33ee046bedaef7ab4 (patch)
treec472bc7461a1d4a2268d1ce9f7ce0af2f4c0ce1e
parent236bd27019ff945968a845acb11f78fb263a622d (diff)
downloadopenwrt-79359ffe478d5bbcfe4cf4b33ee046bedaef7ab4.tar.gz
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 (cherry picked from commit 1bf57600cf7b6be6791a2283c44b58329e9f9455) Link: https://github.com/openwrt/openwrt/pull/22625 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/boot/arm-trusted-firmware-mediatek/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/boot/arm-trusted-firmware-mediatek/Makefile b/package/boot/arm-trusted-firmware-mediatek/Makefile
index 829ff3f608..91530b097b 100644
--- a/package/boot/arm-trusted-firmware-mediatek/Makefile
+++ b/package/boot/arm-trusted-firmware-mediatek/Makefile
@@ -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
@@ -682,6 +692,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 \