aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
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
commit4e04e25a2df545bbe3d920f877a9e0baa9bbc5f5 (patch)
tree4b8a31a71c88d313d9e1139bd74881e25f61ef59 /target/linux/bcm53xx
parent0cb38941b6e3e2d1dcff59376e00104f7a4480c0 (diff)
downloadupstream-4e04e25a2df545bbe3d920f877a9e0baa9bbc5f5.tar.gz
upstream-4e04e25a2df545bbe3d920f877a9e0baa9bbc5f5.tar.bz2
upstream-4e04e25a2df545bbe3d920f877a9e0baa9bbc5f5.zip
bcm53xx: sysupgrade: allow flashing NAND devices without --force
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45543 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/bcm53xx')
-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