From: rmilecki Date: Tue, 21 Apr 2015 08:32:59 +0000 (+0000) Subject: bcm53xx: sysupgrade: allow flashing NAND devices without --force X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=d1cf0600961c3d72294cac1632065f1910663307;hp=69403e26c707f187e2779954a46779d994ea60d2 bcm53xx: sysupgrade: allow flashing NAND devices without --force Signed-off-by: Rafał Miłecki git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45543 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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