diff options
author | John Crispin <blogic@openwrt.org> | 2014-12-03 16:05:23 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-12-03 16:05:23 +0000 |
commit | 3eb3771e2c3c0c9fdace83e8372356bf80f445a7 (patch) | |
tree | 9bbef6c92ccc020bc64cef8ccf4e2da21b637d82 /package/boot/uboot-envtools | |
parent | de06680bbdb2fbf21fac8d3a446d8b514e443d39 (diff) | |
download | upstream-3eb3771e2c3c0c9fdace83e8372356bf80f445a7.tar.gz upstream-3eb3771e2c3c0c9fdace83e8372356bf80f445a7.tar.bz2 upstream-3eb3771e2c3c0c9fdace83e8372356bf80f445a7.zip |
uboot-envtools: use environment stored in UBI also for KD20
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43510 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-envtools')
-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 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 |