projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mvebu: add support for the Linksys Caiman and Cobra
[openwrt/openwrt.git]
/
package
/
boot
/
uboot-envtools
/
files
/
mvebu
diff --git
a/package/boot/uboot-envtools/files/mvebu
b/package/boot/uboot-envtools/files/mvebu
index 04dfa20e9929e60ca67e968be005dee76b6408a5..13b48fdbe442c689a64d66c0e591ad576469a380 100644
(file)
--- a/
package/boot/uboot-envtools/files/mvebu
+++ b/
package/boot/uboot-envtools/files/mvebu
@@
-1,6
+1,6
@@
#!/bin/sh
#
#!/bin/sh
#
-# Copyright (C) 2014 OpenWrt.org
+# Copyright (C) 2014
-2015
OpenWrt.org
#
[ -e /etc/config/ubootenv ] && exit 0
#
[ -e /etc/config/ubootenv ] && exit 0
@@
-14,7
+14,10
@@
touch /etc/config/ubootenv
board=$(mvebu_board_name)
case "$board" in
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
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x40000" "0x20000"
;;
esac