From: Felix Fietkau Date: Sun, 12 Jun 2016 10:39:35 +0000 (+0200) Subject: uboot-envtools: add config for WBMR300 (lantiq) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=704965d93f2e23a363fd4252d1d80e1f5b9dda13;p=openwrt%2Fstaging%2Fmkresin.git 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