From 704965d93f2e23a363fd4252d1d80e1f5b9dda13 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 12 Jun 2016 12:39:35 +0200 Subject: [PATCH] uboot-envtools: add config for WBMR300 (lantiq) Signed-off-by: Felix Fietkau --- package/boot/uboot-envtools/files/lantiq | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/boot/uboot-envtools/files/lantiq b/package/boot/uboot-envtools/files/lantiq index 9f7ec8cf26e..a0e0d916bee 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