mvebu: add support for Buffalo LinkStation LS220DE
[openwrt/openwrt.git] / target / linux / mvebu / cortexa9 / base-files / lib / upgrade / platform.sh
index 18b978d43705ceb3059e962930364ded1dee5314..9019c1aeff5c1fa6ff14d5d4a70551194dbdc69d 100755 (executable)
@@ -25,6 +25,13 @@ platform_check_image() {
 
 platform_do_upgrade() {
        case "$(board_name)" in
+       buffalo,ls220de)
+               # Kernel UBI volume name must be "boot"
+               CI_KERNPART=boot
+               CI_KERN_UBIPART=ubi_kernel
+               CI_ROOT_UBIPART=ubi
+               nand_do_upgrade "$1"
+               ;;
        buffalo,ls421de)
                nand_do_upgrade "$1"
                ;;