summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/global_data.h
diff options
context:
space:
mode:
authorYuri Tikhonov <yur@emcraft.com>2008-05-08 15:46:42 +0200
committerWolfgang Denk <wd@denx.de>2008-05-20 23:24:38 +0200
commit0e15ddd11f1a84c465e434eb051d2ef08ef02b9b (patch)
treea203ef1a6a8f74987d0b975f5f06e69734dab8bf /include/asm-arm/global_data.h
parent7845d49094c81321021b50a4dbb8864d2f3777e4 (diff)
downloadtalos-obmc-uboot-0e15ddd11f1a84c465e434eb051d2ef08ef02b9b.tar.gz
talos-obmc-uboot-0e15ddd11f1a84c465e434eb051d2ef08ef02b9b.zip
POST: replace the LOGBUFF_INITIALIZED flag in gd->post_log_word (1 << 31) with the GD_FLG_LOGINIT flag in gd->flags.
This way we become able to utilize the full post_log_word for POST activities (overwise, POST ECC, which has 0x8000 ID, could be erroneously treated as started in post_output_backlog() even if there was actually no POST ECC run (because of OCM POST failure, for example). Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Diffstat (limited to 'include/asm-arm/global_data.h')
-rw-r--r--include/asm-arm/global_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/global_data.h b/include/asm-arm/global_data.h
index b470d04072..7564ff1469 100644
--- a/include/asm-arm/global_data.h
+++ b/include/asm-arm/global_data.h
@@ -62,6 +62,7 @@ typedef struct global_data {
#define GD_FLG_SILENT 0x00004 /* Silent mode */
#define GD_FLG_POSTFAIL 0x00008 /* Critical POST test failed */
#define GD_FLG_POSTSTOP 0x00010 /* POST seqeunce aborted */
+#define GD_FLG_LOGINIT 0x00020 /* Log Buffer has been initialized */
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r8")
OpenPOWER on IntegriCloud