1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

[new uImage] Add autostart flag to bootm_headers structure

The autostart env variable was dropped as part of the initial new uImage
cleanup.  Add it back here so the arch specific code can decide if it
wants to really boot or not.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Marian Balakowicz <m8@semihalf.com>
This commit is contained in:
Kumar Gala
2008-02-27 21:51:48 -06:00
committed by Marian Balakowicz
parent 4ed6552f71
commit f5614e7926
3 changed files with 9 additions and 0 deletions

View File

@@ -126,6 +126,12 @@ int getenv_verify (void)
return (s && (*s == 'n')) ? 0 : 1;
}
int getenv_autostart (void)
{
char *s = getenv ("autostart");
return (s && (*s == 'n')) ? 0 : 1;
}
void memmove_wd (void *to, void *from, size_t len, ulong chunksz)
{
#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)