projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bcm53xx: sysupgrade: allow flashing NAND devices without --force
[openwrt.git]
/
target
/
linux
/
bcm53xx
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
index
54a7815
..
d3440b7
100644
(file)
--- a/
target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
@@
-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