uboot-envtools: fix fw_env.config for ox820/stg-212

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2019-04-09 21:09:02 +02:00
parent 750a57b836
commit 44ae5f37fb
1 changed files with 3 additions and 1 deletions

View File

@ -14,10 +14,12 @@ board=$(board_name)
case "$board" in
"cloudengines,pogoplug"* | \
"mitrastar,stg-212" | \
"shuttle,kd20")
ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x2000" "0x2000" "1"
;;
"mitrastar,stg-212")
ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x20000" "0x20000" "1"
;;
esac
config_load ubootenv