aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-04-08 00:34:48 +0200
committerMathias Kresin <dev@kresin.me>2017-04-21 07:47:59 +0200
commit18618695aedf8cf593ca5bb5a5a0b4c97e53dd2f (patch)
tree1c7c7866c12811fa125c5a6b159bf95c246a450b /package/boot/uboot-envtools
parent9e468f7829eb6bfeff2a3671b04e53003a709313 (diff)
downloadupstream-18618695aedf8cf593ca5bb5a5a0b4c97e53dd2f.tar.gz
upstream-18618695aedf8cf593ca5bb5a5a0b4c97e53dd2f.tar.bz2
upstream-18618695aedf8cf593ca5bb5a5a0b4c97e53dd2f.zip
ramips: dont replace the board name
Use fixed led names and add each board variant instead of manipulating the board name. It makes the ramips board name function less different to the one used in other targets and allows to merge them with a common function. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package/boot/uboot-envtools')
-rw-r--r--package/boot/uboot-envtools/files/ramips3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips
index 3216b300c1..9ce8c30edd 100644
--- a/package/boot/uboot-envtools/files/ramips
+++ b/package/boot/uboot-envtools/files/ramips
@@ -15,7 +15,8 @@ board=$(ramips_board_name)
case "$board" in
all0239-3g|\
-all0256n|\
+all0256n-4M|\
+all0256n-8M|\
all5002)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000"
;;