From: Samantha Collard Date: Sat, 30 May 2020 23:49:51 +0000 (+1000) Subject: ipq806x: EA8500 fix boot partition detection X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0f910a8c4c03d92e399dd79dbc5d707eb03b22df;p=openwrt%2Fstaging%2Fnbd.git ipq806x: EA8500 fix boot partition detection Remove extraneous code that disabled boot partition detection. Fixes: b3770eaca39f ("mtd: base-files: Unify dual-firmware devices (Linksys)") Signed-off-by: Samantha Collard --- diff --git a/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh b/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh index a957bf1149..22771278ce 100644 --- a/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh +++ b/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh @@ -21,8 +21,6 @@ linksys_get_target_firmware() { "${cur_boot_part}" "${mtd_ubi0}" fi - cur_boot_part=$(/usr/sbin/fw_printenv -n boot_part) - case $cur_boot_part in 1) fw_setenv -s - <<-EOF