From 4e04e25a2df545bbe3d920f877a9e0baa9bbc5f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Tue, 21 Apr 2015 08:32:59 +0000 Subject: bcm53xx: sysupgrade: allow flashing NAND devices without --force MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45543 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/bcm53xx/base-files/lib/upgrade/platform.sh | 5 ----- 1 file changed, 5 deletions(-) (limited to 'target/linux/bcm53xx/base-files') 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 -- cgit v1.2.3