mediatek: add support for OpenEmbed SOM7981
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / mediatek_filogic
index 64c9d045d86540c4ef601c1ac126fce2a0eb13c9..753c8ca06483fabc805ef5c34f89037e4794564b 100644 (file)
@@ -107,6 +107,10 @@ routerich,ax3000)
        local envdev=/dev/mtd$(find_mtd_index "u-boot-env")
        ubootenv_add_uci_config "$envdev" "0x0" "0x20000" "0x20000" "1"
        ;;
+openembed,som7981)
+       ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x80000" "0x80000"
+       ubootenv_add_uci_sys_config "/dev/mtd3" "0x0" "0x100000" "0x100000"
+       ;;
 ubnt,unifi-6-plus)
        ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x80000" "0x10000"
        ;;