diff options
author | Yuri Tikhonov <yur@pollux.denx.de> | 2008-02-04 14:11:03 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-18 22:24:48 +0100 |
commit | b428f6a8c65c5303e5f96db8d24f2f699d94a98c (patch) | |
tree | 0bede5fb7b3eaec6b71b355748ad19b4ddab2c79 /include/asm-sh | |
parent | 8f15d4addd49c956412e1e3bfc764a0c8b1f3184 (diff) | |
download | bootable_bootloader_goldelico_gta04-b428f6a8c65c5303e5f96db8d24f2f699d94a98c.zip bootable_bootloader_goldelico_gta04-b428f6a8c65c5303e5f96db8d24f2f699d94a98c.tar.gz bootable_bootloader_goldelico_gta04-b428f6a8c65c5303e5f96db8d24f2f699d94a98c.tar.bz2 |
The patch introduces the CRITICAL feature of POST tests. If the test marked as POST_CRITICAL fails then the alternative, post_critical, boot-command is used. If this command is not defined then U-Boot enters into interactive mode.
Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Diffstat (limited to 'include/asm-sh')
-rw-r--r-- | include/asm-sh/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-sh/global_data.h b/include/asm-sh/global_data.h index 0a44a34..521a66f 100644 --- a/include/asm-sh/global_data.h +++ b/include/asm-sh/global_data.h @@ -44,6 +44,7 @@ typedef struct global_data #define GD_FLG_RELOC 0x00001 /* Code was relocated to RAM */ #define GD_FLG_DEVINIT 0x00002 /* Devices have been initialized */ #define GD_FLG_SILENT 0x00004 /* Silent mode */ +#define GD_FLG_POSTFAIL 0x00008 /* Critical POST test failed */ #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("r13") |