ramips: Add userspace support for the Edimax BR-6475nD
[openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index 0230a1829baa5dece41a1c60ac1a005255b7af83..8bc2abd15677e697fb1db64e3872f13948af6405 100755 (executable)
@@ -100,6 +100,13 @@ platform_check_image() {
                }
                return 0
                ;;
+       br-6475nd)
+               [ "$magic" != "43535953" ] && {
+                       echo "Invalid image type."
+                       return 1
+               }
+               return 0
+               ;;
        esac
 
        echo "Sysupgrade is not yet supported on $board."