realtek: add support for TP-Link SG2008P
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / realtek
index 93cccfdc3e9a5ff6fa9794cf89acefe7c736a251..39be783ea3e53c47b13478e2d94b967c47d1e899 100644 (file)
@@ -28,6 +28,11 @@ zyxel,gs1900-24hp-v2)
        [ -n "$idx2" ] && \
                ubootenv_add_uci_sys_config "/dev/mtd$idx2" "0x0" "0x1000" "0x10000"
        ;;
+tplink,sg2008p-v1)
+       idx="$(find_mtd_index u-boot-env)"
+       [ -n "$idx" ] && \
+               ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x20000" "0x10000"
+       ;;
 iodata,bsh-g24mb)
        idx="$(find_mtd_index u-boot-env)"
        [ -n "$idx" ] && \