ARM: rpi: support an environment
authorStephen Warren <swarren@wwwdotorg.org>
Thu, 20 Nov 2014 03:41:04 +0000 (20:41 -0700)
committerTom Rini <trini@ti.com>
Mon, 8 Dec 2014 14:35:42 +0000 (09:35 -0500)
commita5a83dc9dc7f4b29f7ceda1007bdac1a49219e2c
treeced5afdd7aaeee2c96dd70a858d3b37db6dd22b6
parent9316e14400c255e02f66bfb6d1e3d1dce3daf86a
ARM: rpi: support an environment

Enable ENV_IS_IN_FAT so that the environment can be stored persistently.
It's stored in the FAT partition that the RPi firmware requires. On most
RPis, this is on the SD card (which must be present in order for the
system to boot). On the CM this is on the built-in eMMC device.

Since we now have a persistent environment, there's no need to load
uEnv.txt at boot; we only did that to work around the lack of persistent
environment.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
include/configs/rpi.h