Disable U-Boot and ART upgrade for Dragino 2
authorPiotr Dymacz <pepe2k@gmail.com>
Mon, 3 Feb 2014 22:24:46 +0000 (23:24 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Mon, 3 Feb 2014 22:24:46 +0000 (23:24 +0100)
u-boot/Makefile

index 0ba6e9ac26ab08a404dc52d8ceb90d7e1e718f95..8a09d51825657298ca7955f0b86453f5ef7ece04 100755 (executable)
@@ -501,6 +501,8 @@ dragino_v2_ms14_config : unconfig hornet_common_config
        @echo "#define GPIO_RST_BUTTON_BIT                 11" >> include/config.h
        @echo "#define GPIO_RST_BUTTON_IS_ACTIVE_LOW        1" >> include/config.h
        @echo "#define DEFAULT_FLASH_SIZE_IN_MB            16" >> include/config.h
+       @echo "#define WEBFAILSAFE_DISABLE_ART_UPGRADE      1" >> include/config.h
+       @echo "#define WEBFAILSAFE_DISABLE_UBOOT_UPGRADE    1" >> include/config.h
        @echo "#define BOARD_CUSTOM_STRING                  \"AP121 (AR9331) U-Boot for Dragino v2 MS14\"" >> include/config.h
        
        @./mkconfig -a ap121 mips mips ap121 ar7240 ar7240