lantiq: use uniform "u-boot-env" mtd label
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / lantiq
index f4541a559bdc4b1557e0ab6b312155893dfee8f7..87dfac8b3012837e786738aa9ccfd8dfe6234acc 100644 (file)
@@ -26,7 +26,7 @@ zyxel,p-2812hnu-f1)
        ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x2000" "0x20000" "1"
        ;;
 buffalo,wbmr-300hpd)
-       idx="$(find_mtd_index ubootconfig)"
+       idx="$(find_mtd_index u-boot-env)"
        [ -n "$idx" ] && \
                ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x2000" "0x1000" "2"
        ;;