bcm53xx: sysupgrade: allow flashing NAND devices without --force
authorRafał Miłecki <zajec5@gmail.com>
Tue, 21 Apr 2015 08:32:59 +0000 (08:32 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Tue, 21 Apr 2015 08:32:59 +0000 (08:32 +0000)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45543

target/linux/bcm53xx/base-files/lib/upgrade/platform.sh

index 54a7815fedc5e0aa8ac499a6d7f069d40acb2252..d3440b77391ad49eec17b5e5e6c9355ee2604958 100644 (file)
@@ -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