uboot-envtools: oxnas: sync with current oxnas/ox820 DTS
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / oxnas
index 70b0f1663a8f18d404df46186feef69eeed4b123..e54fae81730bb593ad81ad17a05ece5c5a6e571b 100644 (file)
@@ -13,11 +13,10 @@ touch /etc/config/ubootenv
 board=$(board_name)
 
 case "$board" in
-akitio|\
-kd20|\
-stg212)
-       ubootenv_add_uci_config "/dev/ubi0_0" "0x0" "0x4000" "0x1F000" "1"
-       ubootenv_add_uci_config "/dev/ubi0_1" "0x0" "0x4000" "0x1F000" "1"
+"cloudengines,pogoplug"* | \
+"mitrastar,stg-212" | \
+"shuttle,kd20")
+       ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x2000" "0x2000" "1"
        ;;
 esac