summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/base-files
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 /target/linux/bcm53xx/base-files
parentd263c8e1a964c075e25388d0d364c251c7337963 (diff)
downloadmtk-20170518-688c1d74b9d2c62c056f5ab7edab7578d3802542.zip
mtk-20170518-688c1d74b9d2c62c056f5ab7edab7578d3802542.tar.gz
mtk-20170518-688c1d74b9d2c62c056f5ab7edab7578d3802542.tar.bz2
bcm53xx: sysupgrade: allow flashing NAND devices without --force
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45543
Diffstat (limited to 'target/linux/bcm53xx/base-files')
-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 54a7815..d3440b7 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