aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-04-21 08:32:59 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-04-21 08:32:59 +0000
commit688c1d74b9d2c62c056f5ab7edab7578d3802542 (patch)
tree9a8fb1bf78f4b967ea34b1f3546a56b86297be1b
parentd263c8e1a964c075e25388d0d364c251c7337963 (diff)
downloadupstream-688c1d74b9d2c62c056f5ab7edab7578d3802542.tar.gz
upstream-688c1d74b9d2c62c056f5ab7edab7578d3802542.tar.bz2
upstream-688c1d74b9d2c62c056f5ab7edab7578d3802542.zip
bcm53xx: sysupgrade: allow flashing NAND devices without --force
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45543
-rw-r--r--target/linux/bcm53xx/base-files/lib/upgrade/platform.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
index 54a7815fed..d3440b7739 100644
--- 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