aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-04-16 09:54:39 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-04-16 09:54:39 +0000
commit3ec7a94d57d5b1b75f409a480b7a99f03fddb2a1 (patch)
treedbaef23d37cd089988cfd4efee53ad7e5ce9e30c /package/boot/uboot-envtools
parent89b99d117754fb07f0273a5ebdf7f7e3a2fbf1b2 (diff)
downloadmaster-187ad058-3ec7a94d57d5b1b75f409a480b7a99f03fddb2a1.tar.gz
master-187ad058-3ec7a94d57d5b1b75f409a480b7a99f03fddb2a1.tar.bz2
master-187ad058-3ec7a94d57d5b1b75f409a480b7a99f03fddb2a1.zip
mvebu: add support for the Linksys Caiman and Cobra
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45456 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-envtools')
-rw-r--r--package/boot/uboot-envtools/files/mvebu7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/boot/uboot-envtools/files/mvebu b/package/boot/uboot-envtools/files/mvebu
index 04dfa20e99..13b48fdbe4 100644
--- a/package/boot/uboot-envtools/files/mvebu
+++ b/package/boot/uboot-envtools/files/mvebu
@@ -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