]> git.baikalelectronics.ru Git - uboot.git/commit
arm64: mvebu: armada-8k: support environment in SD/eMMC
authorBaruch Siach <baruch@tkos.co.il>
Tue, 14 Aug 2018 15:05:46 +0000 (18:05 +0300)
committerStefan Roese <sr@denx.de>
Wed, 19 Sep 2018 06:59:26 +0000 (08:59 +0200)
commit88d47dd14e1de10564e8ef55593e8c41c560b462
tree3280e3f61393cba74b83c2d56cd6037b8b477a6d
parent88ceeab84750a8dd13612c6ae003c4de9739e2ee
arm64: mvebu: armada-8k: support environment in SD/eMMC

Detect the SD/eMMC boot device at run-time. Load the environment from
the boot deice, as well as save to it.

Leave the environment offset the same as in the SPI flash.

Make SD/eMMC 0 the default environment device when the boot device is
not detected.

Cc: Konstantin Porotchkin <kostap@marvell.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/armada8k/cpu.c
include/configs/mvebu_armada-8k.h