diff options
author | John Crispin <john@openwrt.org> | 2014-12-03 16:05:23 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-12-03 16:05:23 +0000 |
commit | 6ad5109211d084a643eef6a9cc02624d7b8faf6a (patch) | |
tree | 5c737ee3760b7d68a6700527b64cbc08884197ae /package/boot/uboot-envtools/files/oxnas | |
parent | 871e0a6316390730a18d48164e39c1ee66b677d5 (diff) | |
download | mtk-20170518-6ad5109211d084a643eef6a9cc02624d7b8faf6a.zip mtk-20170518-6ad5109211d084a643eef6a9cc02624d7b8faf6a.tar.gz mtk-20170518-6ad5109211d084a643eef6a9cc02624d7b8faf6a.tar.bz2 |
uboot-envtools: use environment stored in UBI also for KD20
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43510
Diffstat (limited to 'package/boot/uboot-envtools/files/oxnas')
-rw-r--r-- | package/boot/uboot-envtools/files/oxnas | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/package/boot/uboot-envtools/files/oxnas b/package/boot/uboot-envtools/files/oxnas index b456fb3..063ffa0 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 |