From: Felix Fietkau Date: Sun, 12 Jun 2016 10:39:35 +0000 (+0200) Subject: uboot-envtools: add config for WBMR300 (lantiq) X-Git-Tag: v17.01.0-rc1~2438 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=704965d93f2e23a363fd4252d1d80e1f5b9dda13;hp=37cfc23cb7bcfd90da137c0495303b19ddcf4b42 uboot-envtools: add config for WBMR300 (lantiq) Signed-off-by: Felix Fietkau --- diff --git a/package/boot/uboot-envtools/files/lantiq b/package/boot/uboot-envtools/files/lantiq index 9f7ec8cf26..a0e0d916be 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