aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2023-07-28 08:20:57 +0200
committerPetr Štetiar <ynezz@true.cz>2023-07-28 08:24:11 +0200
commitedd146c9202a5ef1195eafeb9e9e51f3de34c229 (patch)
tree84749df639cfc4a2da4a86c7625fad32f76470e9 /target/linux
parentdef41cf2bab825e46a31eb0a9ccf51288edfe27d (diff)
downloadupstream-edd146c9202a5ef1195eafeb9e9e51f3de34c229.tar.gz
upstream-edd146c9202a5ef1195eafeb9e9e51f3de34c229.tar.bz2
upstream-edd146c9202a5ef1195eafeb9e9e51f3de34c229.zip
mediatek: filogic: fix broken sysupgrade script
Changes introduced in commit 54dc1cde48a4 ("mediatek: filogic: add support for Xiaomi WR30U") missed to end the case item with mandatory `;;` which lead to a broken sysupgrade. Fixes: 54dc1cde48a4 ("mediatek: filogic: add support for Xiaomi WR30U") Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
index ddf7a22e6cc..858e11ff00d 100755
--- a/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
@@ -40,6 +40,7 @@ xiaomi_initial_setup()
case "$board" in
xiaomi,mi-router-wr30u-stock)
fw_setenv mtdparts "nmbm0:1024k(bl2),256k(Nvram),256k(Bdata),2048k(factory),2048k(fip),256k(crash),256k(crash_log),34816k(ubi),34816k(ubi1),32768k(overlay),12288k(data),256k(KF)"
+ ;;
xiaomi,redmi-router-ax6000-stock)
fw_setenv mtdparts "nmbm0:1024k(bl2),256k(Nvram),256k(Bdata),2048k(factory),2048k(fip),256k(crash),256k(crash_log),30720k(ubi),30720k(ubi1),51200k(overlay)"
;;