mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
bcm53xx: sysupgrade: allow flashing NAND devices without --force
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45543
This commit is contained in:
parent
d263c8e1a9
commit
688c1d74b9
@ -57,11 +57,6 @@ platform_identify() {
|
||||
platform_check_image() {
|
||||
[ "$#" -gt 1 ] && return 1
|
||||
|
||||
[ "$(platform_flash_type)" = "nand" ] && {
|
||||
echo "Firmware upgrade on NAND devices is not implemented."
|
||||
return 1
|
||||
}
|
||||
|
||||
local file_type=$(platform_identify "$1")
|
||||
local magic
|
||||
local error=0
|
||||
|
Loading…
Reference in New Issue
Block a user