mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 10:49:40 +08:00
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>
This commit is contained in:
parent
705fe43522
commit
0f910a8c4c
@ -21,8 +21,6 @@ linksys_get_target_firmware() {
|
|||||||
"${cur_boot_part}" "${mtd_ubi0}"
|
"${cur_boot_part}" "${mtd_ubi0}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cur_boot_part=$(/usr/sbin/fw_printenv -n boot_part)
|
|
||||||
|
|
||||||
case $cur_boot_part in
|
case $cur_boot_part in
|
||||||
1)
|
1)
|
||||||
fw_setenv -s - <<-EOF
|
fw_setenv -s - <<-EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user