lantiq: use the compatible string as board name
[openwrt/openwrt.git] / target / linux / lantiq / base-files / lib / upgrade / platform.sh
index 9158fa742fdf1fab37e67a045e02b33344aaf3c9..77b3868dc056cc10007f3dd7a8a0f817854b993c 100755 (executable)
@@ -9,7 +9,7 @@ platform_pre_upgrade() {
        local board=$(board_name)
 
        case "$board" in
-       BTHOMEHUBV2B|BTHOMEHUBV3A|BTHOMEHUBV5A|P2812HNUF* )
+       bt,homehub-v2b|bt,homehub-v3a|bt,homehub-v5a|zyxel,p-2812hnu-f1|zyxel,p-2812hnu-f3)
                nand_do_upgrade $1
                ;;
        esac