mediatek: add ubootenv support for cmcc rax3000m emmc/nand version

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2023-09-26 12:36:24 +08:00
parent 87abf22bdc
commit 38e87621e8
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -54,6 +54,9 @@ cmcc,rax3000m)
;;
esac
;;
cmcc,rax3000m-emmc-ubootmod)
ubootenv_add_uci_config "/dev/mmcblk0p1" "0x0" "0x80000" "0x80000"
;;
glinet,gl-mt3000)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x80000" "0x20000"
;;
@ -71,6 +74,7 @@ mercusys,mr90x-v1)
;;
cetron,ct3003-stock|\
cetron,ct3003-ubootmod|\
cmcc,rax3000m-nand-ubootmod|\
netgear,wax220)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
;;