aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/boot/uboot-envtools/files/oxnas6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/boot/uboot-envtools/files/oxnas b/package/boot/uboot-envtools/files/oxnas
index b456fb3e2d..063ffa0b92 100644
--- a/package/boot/uboot-envtools/files/oxnas
+++ b/package/boot/uboot-envtools/files/oxnas
@@ -14,13 +14,11 @@ touch /etc/config/ubootenv
board=$(oxnas_board_name)
case "$board" in
-stg212)
+stg212 | \
+kd20)
ubootenv_add_uci_config "/dev/ubi0_0" "0x0" "0x4000" "0x1F000" "1"
ubootenv_add_uci_config "/dev/ubi0_1" "0x0" "0x4000" "0x1F000" "1"
;;
-kd20)
- ubootenv_add_uci_config "/dev/mtd0" "0x220000" "0x02000" "0x20000" "1"
- ;;
esac
config_load ubootenv