uboot-envtools: add support for 8devices Rambutan
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / ar71xx
index 6c076a1e5f427ba3c188ff8d3620e4f130e2ed33..7b348ddc9bb1b9e4d45dd3edac92f1091e2b53cb 100644 (file)
@@ -14,6 +14,8 @@ touch /etc/config/ubootenv
 board=$(ar71xx_board_name)
 
 case "$board" in
+a40|\
+a60|\
 alfa-ap120c|\
 all0258n|\
 ap90q|\
@@ -52,8 +54,10 @@ om2p|\
 om2p-hs|\
 om2p-hsv2|\
 om2p-hsv3|\
+om2p-hsv4|\
 om2p-lc|\
-om2pv2)
+om2pv2|\
+om2pv4)
        ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x40000" "0x40000"
        ;;
 dap-2695-a1|\
@@ -63,6 +67,10 @@ wzr-hp-ag300h)
 dr531)
        ubootenv_add_uci_config "/dev/mtd1" "0x0" "0xf800" "0x10000"
        ;;
+rambutan)
+       ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
+       ubootenv_add_uci_config "/dev/mtd1" "0x100000" "0x20000" "0x20000"
+       ;;
 qihoo-c301)
        ubootenv_add_uci_config "/dev/mtd9" "0x0" "0x10000" "0x10000"
        ;;