]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: Qihoo 360T7: fix DDR3 rate
authorMikhail Zhilkin <csharper2005@gmail.com>
Sat, 4 Apr 2026 13:41:36 +0000 (16:41 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 9 May 2026 13:42:26 +0000 (15:42 +0200)
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 <csharper2005@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22797
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-mediatek/Makefile
target/linux/mediatek/image/filogic.mk

index 217b2d8ec67adafa49b151185ae6c37e51127f3b..d9b72eab9078c008cf10cd828e9962390ef39321 100644 (file)
@@ -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
index 41ddf7a5cbfbb4f1ab45940e683e9222b18702e3..ddbfe70d1227c2144e677e6bd38749426cd93f82 100644 (file)
@@ -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