diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-06-24 16:23:59 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-24 16:23:59 +0200 |
commit | c095c709d77d503fec6ff9922926098cd3723396 (patch) | |
tree | dca685dc5ba8126793dca36bb4dc8c79a5b0d6f1 /package/boot | |
parent | fa6730fcf27624b3e56c60a124127d1107d167e3 (diff) | |
download | master-187ad058-c095c709d77d503fec6ff9922926098cd3723396.tar.gz master-187ad058-c095c709d77d503fec6ff9922926098cd3723396.tar.bz2 master-187ad058-c095c709d77d503fec6ff9922926098cd3723396.zip |
uboot-envtools: add config for WBMR300 (lantiq)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/boot')
-rw-r--r-- | package/boot/uboot-envtools/files/lantiq | 5 |
1 files changed, 5 insertions, 0 deletions
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 |