uboot-envtools: add config for WBMR300 (lantiq)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
lede-17.01
Felix Fietkau 2016-06-12 12:39:35 +02:00
parent 37cfc23cb7
commit 704965d93f
1 changed files with 5 additions and 0 deletions

View File

@ -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