]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
omap4: allow the use of a plain text env file instead boot scripts
authorJavier Martinez Canillas <javier@dowhile0.org>
Mon, 7 Jan 2013 03:51:20 +0000 (03:51 +0000)
committerTom Rini <trini@ti.com>
Thu, 7 Feb 2013 15:36:25 +0000 (10:36 -0500)
commitd70f54808dfa83b574e1239c3eccbcf3317343e1
tree70d1e043f50616df4b1f6f7e8972c5b0dd42c818
parent9d4f542123a4ec7557e40a6944c93cbae9242eb3
omap4: allow the use of a plain text env file instead boot scripts

For production systems it is better to use script images since
they are protected by checksums and carry valuable information like
name and timestamp. Also, you can't validate the content passed to
env import.

But for development, it is easier to use the env import command and
plain text files instead of script-images.

Since both OMAP4 supported boards (Panda and TI SDP4430) are used
primarily for development, this patch allows U-Boot to load env var
from a text file in case that an boot.scr script-image is not present.

The variable uenvcmd (if existent) will be executed (using run) after
uEnv.txt was loaded. If uenvcmd doesn't exist the default boot sequence
will be started.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Nishanth Menon <nm@ti.com>
include/configs/omap4_common.h