[openwrt/openwrt] uboot-mediatek: rax3000m: use ddr3-1866mhz built in the dependency

LEDE Commits lede-commits at lists.infradead.org
Tue Sep 30 06:12:56 PDT 2025


981213 pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/996e4cb5066d38fea862b0cc265235a2bc1add03

commit 996e4cb5066d38fea862b0cc265235a2bc1add03
Author: Chuanhong Guo <gch981213 at gmail.com>
AuthorDate: Tue Sep 30 21:04:51 2025 +0800

    uboot-mediatek: rax3000m: use ddr3-1866mhz built in the dependency
    
    The u-boot of cmcc_rax3000m_*-ddr3 declares a dependency on
    trusted-firmware-a-mt7981-*-ddr3-1866mhz, while actually packages
    the normal BL2. This causes build failure if the the non-1866m
    variant isn't built.
    According to the previous commit, it's intended to use the lower
    frequency variant to fix device stability issues. Correct
    BL2_DDRTYPE as intended.
    
    Fixes: 028050da69 ("mediatek: CMCC RAX3000Me: fix stability issues")
    Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>
---
 package/boot/uboot-mediatek/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/boot/uboot-mediatek/Makefile b/package/boot/uboot-mediatek/Makefile
index e4c9733233..c2bd0189e8 100644
--- a/package/boot/uboot-mediatek/Makefile
+++ b/package/boot/uboot-mediatek/Makefile
@@ -251,7 +251,7 @@ define U-Boot/mt7981_cmcc_rax3000m-emmc-ddr3
   UBOOT_IMAGE:=u-boot.fip
   BL2_BOOTDEV:=emmc
   BL2_SOC:=mt7981
-  BL2_DDRTYPE:=ddr3
+  BL2_DDRTYPE:=ddr3-1866mhz
   DEPENDS:=+trusted-firmware-a-mt7981-emmc-ddr3-1866mhz
 endef
 
@@ -275,7 +275,7 @@ define U-Boot/mt7981_cmcc_rax3000m-nand-ddr3
   UBOOT_IMAGE:=u-boot.fip
   BL2_BOOTDEV:=spim-nand
   BL2_SOC:=mt7981
-  BL2_DDRTYPE:=ddr3
+  BL2_DDRTYPE:=ddr3-1866mhz
   DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ddr3-1866mhz
 endef
 




More information about the lede-commits mailing list