ipq806x: Sort occurrences of boardame alphabetically
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / lib / upgrade / platform.sh
index dc88c9ed09fa3014e6e9b7e849d3908e7c8c464e..f71ee37d9937a004a7a83df19f2eff2ad33a21dd 100644 (file)
@@ -10,6 +10,9 @@ platform_check_image() {
 
 platform_do_upgrade() {
        case "$(board_name)" in
+       linksys,ea8500)
+               platform_do_upgrade_linksys "$ARGV"
+               ;;
        netgear,d7800 |\
        netgear,r7500 |\
        netgear,r7500v2 |\
@@ -24,9 +27,6 @@ platform_do_upgrade() {
                MTD_CONFIG_ARGS="-s 0x200000"
                default_do_upgrade "$ARGV"
                ;;
-       linksys,ea8500)
-               platform_do_upgrade_linksys "$ARGV"
-               ;;
        tplink,vr2600v)
                PART_NAME="kernel:rootfs"
                MTD_CONFIG_ARGS="-s 0x200000"