mediatek: Add support for D-Link EAGLE PRO AI R32
[openwrt/staging/wigyori.git] / package / boot / uboot-envtools / files / mediatek_mt7622
index e01dcc4fefdd0f4993ed45cb802a399d6119ebe4..fdf0d331fc569bb80ff8eec3e29e6d8b8bfb0083 100644 (file)
@@ -12,6 +12,10 @@ touch /etc/config/ubootenv
 board=$(board_name)
 
 case "$board" in
+dlink,eagle-pro-ai-m32-a1|\
+dlink,eagle-pro-ai-r32-a1)
+       ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x2000" "0x2000"
+       ;;
 linksys,e8450-ubi)
        ubootenv_add_uci_config "/dev/ubi0_0" "0x0" "0x1f000" "0x1f000" "1"
        ubootenv_add_uci_config "/dev/ubi0_1" "0x0" "0x1f000" "0x1f000" "1"