diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2015-01-05 18:13:39 +0100 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-29 13:38:39 -0500 |
commit | 453c6cc19aaf4f03bbf4ef03493732a39d3780db (patch) | |
tree | dfdb2783b72b1cac91cbdf1576ff76b5b66ddd83 /common/spl | |
parent | 735b1cfeb2308d9114af1140b703be91b604c09e (diff) | |
download | u-boot-imx-453c6cc19aaf4f03bbf4ef03493732a39d3780db.zip u-boot-imx-453c6cc19aaf4f03bbf4ef03493732a39d3780db.tar.gz u-boot-imx-453c6cc19aaf4f03bbf4ef03493732a39d3780db.tar.bz2 |
distro_distro_bootcmd: use CONFIG_BOOTCOMMAND instead of setting bootcmd=
Move the bootcmd commands into a seperate distro_bootcmd environment
variable. Allowing a user to easily launch the distro boot sequence if
the default bootcmd did not default to distro boot commands.
Also set CONFIG_BOOTCOMMAND to "run distro_bootcmd" if it hasn't been
configured yet rather then putting it directly in the environment. This
allows boards to make the distro boot commands available without
necessarily default to them or to use them as a fallback after running
some board specific commands instead.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'common/spl')
0 files changed, 0 insertions, 0 deletions