mvebu: add support for the Linksys Caiman and Cobra
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / mvebu
index 04dfa20e9929e60ca67e968be005dee76b6408a5..13b48fdbe442c689a64d66c0e591ad576469a380 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2014 OpenWrt.org
+# Copyright (C) 2014-2015 OpenWrt.org
 #
 
 [ -e /etc/config/ubootenv ] && exit 0
@@ -14,7 +14,10 @@ touch /etc/config/ubootenv
 board=$(mvebu_board_name)
 
 case "$board" in
-"armada-xp-linksys-mamba")
+armada-385-linksys-caiman|armada-385-linksys-cobra)
+       ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x40000"
+       ;;
+armada-xp-linksys-mamba)
        ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x40000" "0x20000"
        ;;
 esac