summaryrefslogtreecommitdiff
path: root/package/boot/uboot-envtools/files/lantiq
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-06-12 12:39:35 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-12 14:53:18 +0200
commit704965d93f2e23a363fd4252d1d80e1f5b9dda13 (patch)
tree272884084c579fa1760adc2e6ff9eac112461bbd /package/boot/uboot-envtools/files/lantiq
parent37cfc23cb7bcfd90da137c0495303b19ddcf4b42 (diff)
downloadmtk-20170518-704965d93f2e23a363fd4252d1d80e1f5b9dda13.zip
mtk-20170518-704965d93f2e23a363fd4252d1d80e1f5b9dda13.tar.gz
mtk-20170518-704965d93f2e23a363fd4252d1d80e1f5b9dda13.tar.bz2
uboot-envtools: add config for WBMR300 (lantiq)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/boot/uboot-envtools/files/lantiq')
-rw-r--r--package/boot/uboot-envtools/files/lantiq5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/lantiq b/package/boot/uboot-envtools/files/lantiq
index 9f7ec8c..a0e0d91 100644
--- 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