summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanhong Guo2025-09-30 13:04:51 +0000
committerChuanhong Guo2025-09-30 13:12:06 +0000
commit996e4cb5066d38fea862b0cc265235a2bc1add03 (patch)
tree39e32bfec7cb75ab58876a1fa45b412d3be14cb4
parent16416782f194d1850a9d9accf02f04832a7fcea4 (diff)
downloadopenwrt-996e4cb5066d38fea862b0cc265235a2bc1add03.tar.gz
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@gmail.com>
-rw-r--r--package/boot/uboot-mediatek/Makefile4
1 files 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