aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
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
commit2705cda81389e84687fb0325d2bf6c8bc2756bee (patch)
tree43e62f4855251c4117b245bccebe1fb75534fa9e /package/boot
parent0926e4c22feb8b9f65d7fbf9deb880de031fd0a2 (diff)
downloadupstream-2705cda81389e84687fb0325d2bf6c8bc2756bee.tar.gz
upstream-2705cda81389e84687fb0325d2bf6c8bc2756bee.tar.bz2
upstream-2705cda81389e84687fb0325d2bf6c8bc2756bee.zip
mvebu: add support for the Linksys Caiman and Cobra
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45456
Diffstat (limited to 'package/boot')
-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