aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files
diff options
context:
space:
mode:
authorSamantha Collard <sammyrc34@gmail.com>2020-05-31 09:49:51 +1000
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-03 15:29:03 +0200
commitfb79e5d9fec8e118e7f72b489ba83b0c2488e024 (patch)
tree975aa29c2793befde2f382b592053fe208c0035b /target/linux/ipq806x/base-files
parente36bdd5dc5bf48fc0102394736c24a075959bc53 (diff)
downloadupstream-fb79e5d9fec8e118e7f72b489ba83b0c2488e024.tar.gz
upstream-fb79e5d9fec8e118e7f72b489ba83b0c2488e024.tar.bz2
upstream-fb79e5d9fec8e118e7f72b489ba83b0c2488e024.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> (cherry picked from commit 0f910a8c4c03d92e399dd79dbc5d707eb03b22df)
Diffstat (limited to 'target/linux/ipq806x/base-files')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/linksys.sh2
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 2aa6e0f08c..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