projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37cfc23
)
uboot-envtools: add config for WBMR300 (lantiq)
author
Felix Fietkau
<nbd@nbd.name>
Sun, 12 Jun 2016 10:39:35 +0000
(12:39 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Sun, 12 Jun 2016 12:53:18 +0000
(14:53 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/boot/uboot-envtools/files/lantiq
patch
|
blob
|
history
diff --git
a/package/boot/uboot-envtools/files/lantiq
b/package/boot/uboot-envtools/files/lantiq
index 9f7ec8cf26e41f339b421a870ecafda786a57d10..a0e0d916bee721a6706c92b2b42a668759c49636 100644
(file)
--- a/
package/boot/uboot-envtools/files/lantiq
+++ b/
package/boot/uboot-envtools/files/lantiq
@@
-26,6
+26,11
@@
BTHOMEHUBV3A)
P2812HNUF1)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x2000" "0x20000" "1"
;;
+WBMR300)
+ idx="$(find_mtd_index ubootconfig)"
+ [ -n "$idx" ] && \
+ ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x2000" "0x1000" "2"
+ ;;
esac
config_load ubootenv