ipq807x: Fix EAP104 upgrade

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
This commit is contained in:
Arif Alam
2022-08-05 11:27:08 -04:00
committed by John Crispin
parent 47468145c6
commit fb617ea136

View File

@@ -118,7 +118,6 @@ platform_do_upgrade() {
cig,wf194c4|\ cig,wf194c4|\
cig,wf196|\ cig,wf196|\
cybertan,eww622-a1|\ cybertan,eww622-a1|\
edgecore,eap104|\
glinet,ax1800|\ glinet,ax1800|\
glinet,axt1800|\ glinet,axt1800|\
qcom,ipq6018-cp01|\ qcom,ipq6018-cp01|\
@@ -145,6 +144,7 @@ platform_do_upgrade() {
fi fi
nand_upgrade_tar "$1" nand_upgrade_tar "$1"
;; ;;
edgecore,eap104|\
edgecore,eap106) edgecore,eap106)
CI_UBIPART="rootfs1" CI_UBIPART="rootfs1"
[ "$(find_mtd_chardev rootfs)" ] && CI_UBIPART="rootfs" [ "$(find_mtd_chardev rootfs)" ] && CI_UBIPART="rootfs"