diff options
author | Wolfgang Denk <wd@denx.de> | 2008-05-21 01:13:39 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-21 01:13:39 +0200 |
commit | eddc7c46c6030d6eca29ac254c9db98198be572d (patch) | |
tree | c9cf18d225398fbbb11496ad61a79852d3e059ba /common | |
parent | 4416603aeb06861b468b06a981e52c3ff805db7b (diff) | |
parent | 0e15ddd11f1a84c465e434eb051d2ef08ef02b9b (diff) |
Merge branch 'lwmon5' of /home/wd/git/u-boot/projects
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_log.c b/common/cmd_log.c index b9f9ba0342..c6e72ac3c0 100644 --- a/common/cmd_log.c +++ b/common/cmd_log.c @@ -107,7 +107,7 @@ void logbuff_init_ptrs (void) if ((s = getenv ("loglevel")) != NULL) console_loglevel = (int)simple_strtoul (s, NULL, 10); - gd->post_log_word |= LOGBUFF_INITIALIZED; + gd->flags |= GD_FLG_LOGINIT; } void logbuff_reset (void) @@ -168,7 +168,7 @@ static void logbuff_puts (const char *s) void logbuff_log(char *msg) { - if ((gd->post_log_word & LOGBUFF_INITIALIZED)) { + if ((gd->flags & GD_FLG_LOGINIT)) { logbuff_printk (msg); } else { /* Can happen only for pre-relocated errors as logging */ |