ipq40xx: Add subtarget for Google WiFi (Gale)
[openwrt/staging/chunkeey.git] / target / linux / ipq40xx / base-files / lib / upgrade / platform.sh
index e8c94409a7cc08202bc5f397e232a6e5e87a097a..cded9e3a7ff7875641fb3d505bd9a18f2925b30c 100644 (file)
@@ -152,6 +152,13 @@ platform_do_upgrade() {
        compex,wpj419)
                nand_do_upgrade "$1"
                ;;
+       google,wifi)
+               export_bootdevice
+               export_partdevice CI_ROOTDEV 0
+               CI_KERNPART="kernel"
+               CI_ROOTPART="rootfs"
+               emmc_do_upgrade "$1"
+               ;;
        linksys,ea6350v3 |\
        linksys,ea8300 |\
        linksys,mr8300)
@@ -200,7 +207,8 @@ platform_do_upgrade() {
 
 platform_copy_config() {
        case "$(board_name)" in
-       glinet,gl-b2200)
+       glinet,gl-b2200 |\
+       google,wifi)
                emmc_copy_config
                ;;
        esac