adding saveenv-command for bananapi r2
authorFrank Wunderlich <frank-w@public-files.de>
Tue, 15 Jan 2019 17:49:06 +0000 (18:49 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 18 Jan 2019 14:26:04 +0000 (09:26 -0500)
commitf3af98eca5e2d02e7a428b40ff91b0e608d482e2
treeb6f9f5a8f84515a7639e6a31762746468d81e3e1
parent5d94158aa9af94542a2bb35f6aaa8a2d786fc6c2
adding saveenv-command for bananapi r2

bananapi r2 can be booted from sd-card and emmc
saving the environment have to choose the storage
from which the device has booted

also the offset is set to 1MB to make sure env is written
to block "user data area" between uboot and first partition

https://www.fw-web.de/dokuwiki/lib/exe/fetch.php?cache=&media=bpi-r2:boot-structure.png

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
board/mediatek/mt7623/mt7623_rfb.c
configs/mt7623n_bpir2_defconfig
include/configs/mt7623.h