projects
/
lede-git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uboot-envtools: use environment stored in UBI also for KD20
[lede-git/.git]
/
package
/
boot
/
uboot-envtools
/
files
/
kirkwood
diff --git
a/package/boot/uboot-envtools/files/kirkwood
b/package/boot/uboot-envtools/files/kirkwood
index cad53aa379c73e459535b18e0edb410e4d4c3280..b15b8f98f9f4da03f3048b695a07ed61c5f931f1 100644
(file)
--- a/
package/boot/uboot-envtools/files/kirkwood
+++ b/
package/boot/uboot-envtools/files/kirkwood
@@
-1,6
+1,6
@@
#!/bin/sh
#
#!/bin/sh
#
-# Copyright (C) 2012 OpenWrt.org
+# Copyright (C) 2012
-2014
OpenWrt.org
#
[ -e /etc/config/ubootenv ] && exit 0
#
[ -e /etc/config/ubootenv ] && exit 0
@@
-11,10
+11,13
@@
touch /etc/config/ubootenv
. /lib/uboot-envtools.sh
. /lib/functions.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-
hardware=$(kirkwood_hardware
_name)
+
board=$(kirkwood_board
_name)
-case "$hardware" in
-"RaidSonic ICY BOX IB-NAS6210")
+case "$board" in
+"ea3500" | \
+"ea4500" | \
+"ib62x0" | \
+"pogo_e02")
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
;;
esac
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
;;
esac