ar71xx: improve SPI flash read/write performance
[openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 49df3c3..a53c73d 100755 (executable)
@@ -15,7 +15,7 @@ platform_find_partitions() {
        while read dev size erasesize name; do
                name=${name#'"'}; name=${name%'"'}
                case "$name" in
-                       vmlinux.bin.l7|vmlinux|kernel|linux|rootfs)
+                       vmlinux.bin.l7|vmlinux|kernel|linux|rootfs|filesystem)
                                if [ -z "$first" ]; then
                                        first="$name"
                                else
@@ -97,10 +97,12 @@ platform_check_image() {
        ap83 | \
        dir-600-a1 | \
        dir-615-c1 | \
+       dir-615-e4 | \
        dir-825-b1 | \
        mzk-w04nu | \
        mzk-w300nh | \
        tew-632brp | \
+       tew-673gru | \
        wrt400n | \
        airrouter | \
        bullet-m | \
@@ -177,7 +179,8 @@ platform_check_image() {
        pb42 | \
        pb44 | \
        eap7660d | \
-       ja76pf )
+       ja76pf | \
+       ja76pf2)
                [ "$magic" != "4349" ] && {
                        echo "Invalid image. Use *-sysupgrade.bin files on this board"
                        return 1
@@ -210,7 +213,8 @@ platform_do_upgrade() {
        eap7660d | \
        pb42 | \
        pb44 | \
-       ja76pf)
+       ja76pf | \
+       ja76pf2)
                platform_do_upgrade_combined "$ARGV"
                ;;
        all0258n )
This page took 0.021844 seconds and 4 git commands to generate.