uboot-envtools: add config for WBMR300 (lantiq)
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / lantiq
index 9f7ec8c..a0e0d91 100644 (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