diff options
author | Samantha Collard <sammyrc34@gmail.com> | 2020-05-31 09:49:51 +1000 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-31 15:44:05 +0200 |
commit | 0f910a8c4c03d92e399dd79dbc5d707eb03b22df (patch) | |
tree | 5e36416d44a408fe63c1a88b8b6cc96bd221fcde /target/linux/ipq806x/base-files | |
parent | 705fe43522c756962589b360141d4c398363ce1c (diff) | |
download | upstream-0f910a8c4c03d92e399dd79dbc5d707eb03b22df.tar.gz upstream-0f910a8c4c03d92e399dd79dbc5d707eb03b22df.tar.bz2 upstream-0f910a8c4c03d92e399dd79dbc5d707eb03b22df.zip |
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 <sammyrc34@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/base-files')
-rw-r--r-- | target/linux/ipq806x/base-files/lib/upgrade/linksys.sh | 2 |
1 files changed, 0 insertions, 2 deletions
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 |