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-a3cf2f4a3e73master
parent
de06680bbd
commit
3eb3771e2c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue