ipq807x: add initial support for prpl Foundation Haze board
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / ipq807x
index 0185c2c8e6fcae28e90bdcbca47c8eeea6a16652..345cdadebee5ddc50e420e3e82bc76b5b8cee767 100644 (file)
@@ -36,6 +36,11 @@ xiaomi,ax9000)
        [ -n "$idx2" ] && \
                ubootenv_add_uci_sys_config "/dev/mtd$idx2" "0x0" "0x10000" "0x20000"
        ;;
+prpl,haze)
+       mmcpart="$(find_mmc_part 0:APPSBLENV)"
+       [ -n "$mmcpart" ] && \
+               ubootenv_add_uci_config "$mmcpart" "0x0" "0x40000" "0x400" "0x100"
+       ;;
 qnap,301w)
        idx="$(find_mtd_index 0:appsblenv)"
        [ -n "$idx" ] && \