ipq806x: EA8500 fix boot partition detection

Remove extraneous code that disabled boot partition detection.

Fixes: b3770eaca3 ("mtd: base-files: Unify dual-firmware devices (Linksys)")
Signed-off-by: Samantha Collard <sammyrc34@gmail.com>
(cherry picked from commit 0f910a8c4c)
This commit is contained in:
Samantha Collard 2020-05-31 09:49:51 +10:00 committed by Adrian Schmutzler
parent e36bdd5dc5
commit fb79e5d9fe

View File

@ -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