ipq806x: add support for Buffalo WXR-2533DHP
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / lib / upgrade / platform.sh
index 4b88f9c..2f01906 100644 (file)
@@ -10,6 +10,11 @@ platform_check_image() {
 
 platform_do_upgrade() {
        case "$(board_name)" in
+       buffalo,wxr-2533dhp)
+               buffalo_upgrade_prepare_ubi
+               CI_ROOTPART="ubi_rootfs"
+               nand_do_upgrade "$ARGV"
+               ;;
        compex,wpq864|\
        netgear,d7800 |\
        netgear,r7500 |\