uboot-mediatek: rax3000m: use ddr3-1866mhz built in the dependency
authorChuanhong Guo <[email protected]>
Tue, 30 Sep 2025 13:04:51 +0000 (21:04 +0800)
committerChuanhong Guo <[email protected]>
Tue, 30 Sep 2025 13:12:06 +0000 (21:12 +0800)
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 <[email protected]>
package/boot/uboot-mediatek/Makefile

index e4c97332336544c277ce53452d0ab03be14a5b25..c2bd0189e8ad10a7a01759e41a639eab1151a111 100644 (file)
@@ -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