From: Rafał Miłecki Date: Tue, 21 Apr 2015 08:32:59 +0000 (+0000) Subject: bcm53xx: sysupgrade: allow flashing NAND devices without --force X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=688c1d74b9d2c62c056f5ab7edab7578d3802542;p=openwrt%2Fstaging%2Fzorun.git bcm53xx: sysupgrade: allow flashing NAND devices without --force Signed-off-by: Rafał Miłecki SVN-Revision: 45543 --- 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