ath79: add support for Atheros PB42 reference board
[openwrt/staging/hauke.git] / target / linux / ath79 / generic / base-files / lib / upgrade / platform.sh
index 953d6a96d36f8a36fcec1c9921e29ac5a5288ad8..72141b3e6a4d2b77003727598edba028b1bd0f3a 100644 (file)
@@ -65,6 +65,11 @@ platform_do_upgrade() {
                ROOTFS_FILE="root.squashfs"
                platform_do_upgrade_failsafe_datachk "$1"
                ;;
+       atheros,pb42|\
+       ubnt,routerstation|\
+       ubnt,routerstation-pro)
+               redboot_fis_do_upgrade "$1" kernel
+               ;;
        jjplus,ja76pf2)
                redboot_fis_do_upgrade "$1" linux
                ;;
@@ -96,10 +101,6 @@ platform_do_upgrade() {
                PART_NAME="inactive"
                platform_do_upgrade_dualboot_datachk "$1"
                ;;
-       ubnt,routerstation|\
-       ubnt,routerstation-pro)
-               redboot_fis_do_upgrade "$1" kernel
-               ;;
        *)
                default_do_upgrade "$1"
                ;;