ARM: rpi_b: load /uEnv.txt from MMC at startup
authorStephen Warren <swarren@wwwdotorg.org>
Thu, 6 Feb 2014 03:49:22 +0000 (20:49 -0700)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 21 Feb 2014 14:30:18 +0000 (15:30 +0100)
commit5c92d4823d2d5de03ea63cb3fbfc898c39cf199c
treed8f354f2c7ef054360f5a3b613f501385e7afa87
parent29235b73373f28f2516d2eafbf6ec76ecf8051a3
ARM: rpi_b: load /uEnv.txt from MMC at startup

The Pi has no flash to store an environment in the usual fashion. However,
the user may wish to customize the environment. We know that the SD card
must be present, since that's where the boot ROM has loaded U-Boot from.
So, load uEnv.txt from there early during boot. This allows the user to
e.g. customize boot_targets, in order to automatically select network
boot.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
include/configs/rpi_b.h