From 2f4a052260e4b24d1ca819c6f69aa84c34fe808d Mon Sep 17 00:00:00 2001 From: Mikhail Zhilkin Date: Sat, 4 Apr 2026 16:41:36 +0300 Subject: [PATCH] mediatek: filogic: Qihoo 360T7: fix DDR3 rate According to the datasheet GigaDevice GDP1BFLM-CB is 1866 Mbps DDR3 chip. This commit reduces DDR3 rate from 2133 to 1866 Mbps. Link: https://static6.arrow.com/aropdfconversion/c24b4942a41810a1c921df04a 99d72101eb8cd30/ds-00843-gdp1bflm-rev1.0.pdf Fixes: c51eb17 ("uboot-mediatek: add Qihoo 360T7 support") Signed-off-by: Mikhail Zhilkin Link: https://github.com/openwrt/openwrt/pull/22797 Signed-off-by: Hauke Mehrtens --- package/boot/uboot-mediatek/Makefile | 4 ++-- target/linux/mediatek/image/filogic.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/boot/uboot-mediatek/Makefile b/package/boot/uboot-mediatek/Makefile index 217b2d8ec67..d9b72eab907 100644 --- a/package/boot/uboot-mediatek/Makefile +++ b/package/boot/uboot-mediatek/Makefile @@ -635,8 +635,8 @@ define U-Boot/mt7981_qihoo_360t7 UBOOT_IMAGE:=u-boot.fip BL2_BOOTDEV:=spim-nand BL2_SOC:=mt7981 - BL2_DDRTYPE:=ddr3 - DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ddr3 + BL2_DDRTYPE:=ddr3-1866 + DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ddr3-1866 endef define U-Boot/mt7981_snr_snr-cpe-ax2 diff --git a/target/linux/mediatek/image/filogic.mk b/target/linux/mediatek/image/filogic.mk index 41ddf7a5cbf..ddbfe70d122 100644 --- a/target/linux/mediatek/image/filogic.mk +++ b/target/linux/mediatek/image/filogic.mk @@ -2772,7 +2772,7 @@ define Device/qihoo_360t7 fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb external-static-with-rootfs | append-metadata DEVICE_PACKAGES := kmod-mt7915e kmod-mt7981-firmware mt7981-wo-firmware ARTIFACTS := preloader.bin bl31-uboot.fip - ARTIFACT/preloader.bin := mt7981-bl2 spim-nand-ddr3 + ARTIFACT/preloader.bin := mt7981-bl2 spim-nand-ddr3-1866 ARTIFACT/bl31-uboot.fip := mt7981-bl31-uboot qihoo_360t7 endef TARGET_DEVICES += qihoo_360t7