From 688c1d74b9d2c62c056f5ab7edab7578d3802542 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Tue, 21 Apr 2015 08:32:59 +0000 Subject: [PATCH] bcm53xx: sysupgrade: allow flashing NAND devices without --force MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki SVN-Revision: 45543 --- target/linux/bcm53xx/base-files/lib/upgrade/platform.sh | 5 ----- 1 file changed, 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 -- 2.30.2