projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uboot-envtools: add config for WBMR300 (lantiq)
[openwrt/staging/yousong.git]
/
package
/
boot
/
uboot-envtools
/
files
/
lantiq
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