Skip to content

Commit 2fe61cd

Browse files
committed
qualcommax: ipq60xx: switch to generic emmc_do_upgrade sysupgrade
1 parent 9ef121f commit 2fe61cd

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

  • target/linux/qualcommax/ipq60xx/base-files/lib/upgrade

target/linux/qualcommax/ipq60xx/base-files/lib/upgrade/platform.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,19 @@ platform_do_upgrade() {
3434
redmi,ax5-jdcloud)
3535
kernelname="0:HLOS"
3636
rootfsname="rootfs"
37-
mmc_do_upgrade "$1"
37+
emmc_do_upgrade "$1"
3838
;;
3939
*)
4040
default_do_upgrade "$1"
4141
;;
4242
esac
4343
}
44+
45+
platform_copy_config() {
46+
case "$(board_name)" in
47+
redmi,ax5-jdcloud)
48+
emmc_copy_config
49+
;;
50+
esac
51+
return 0;
52+
}

0 commit comments

Comments
 (0)