Author: blogic
Date: 2014-07-10 21:16:39 +0200 (Thu, 10 Jul 2014)
New Revision: 41566

Modified:
   trunk/target/linux/lantiq/base-files/lib/upgrade/platform.sh
Log:
lantiq: enable SysupgradeNAND for BTHOMEHUBV2B

Enables SysupgradeNAND for BTHOMEHUBV2B.

Depends on the following patches:
http://patchwork.openwrt.org/patch/5817/
http://patchwork.openwrt.org/patch/5848/
http://patchwork.openwrt.org/patch/5851/

Many thanks everyone for your help the last couple of days.

Ben

Signed-off-by: Ben Mulvihill <[email protected]>

Modified: trunk/target/linux/lantiq/base-files/lib/upgrade/platform.sh
===================================================================
--- trunk/target/linux/lantiq/base-files/lib/upgrade/platform.sh        
2014-07-10 19:16:35 UTC (rev 41565)
+++ trunk/target/linux/lantiq/base-files/lib/upgrade/platform.sh        
2014-07-10 19:16:39 UTC (rev 41566)
@@ -1,3 +1,5 @@
+. /lib/functions/lantiq.sh
+
 PART_NAME=firmware
 
 platform_check_image() {
@@ -2,3 +4,11 @@
        [ "$#" -gt 1 ] && return 1
+       local board=$(lantiq_board_name)
 
+       case "$board" in
+               BTHOMEHUBV2B )
+                       nand_do_platform_check $board $1
+                       return $?;
+                       ;;
+       esac
+
        case "$(get_magic_word "$1")" in
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to