diff options
| author | wdenk <wdenk> | 2003-07-24 23:38:38 +0000 | 
|---|---|---|
| committer | wdenk <wdenk> | 2003-07-24 23:38:38 +0000 | 
| commit | 27b207fd0a0941b03f27e2a82c0468b1a090c745 (patch) | |
| tree | 4d339d7a2a00889f09a876425ce430be57de56e9 /common/cmd_log.c | |
| parent | 2535d60277cc295adf75cd5721dcecd840c69a63 (diff) | |
| download | olio-uboot-2014.01-27b207fd0a0941b03f27e2a82c0468b1a090c745.tar.xz olio-uboot-2014.01-27b207fd0a0941b03f27e2a82c0468b1a090c745.zip | |
* Implement new mechanism to export U-Boot's functions to standalone
  applications: instead of using (PPC-specific) system calls we now
  use a jump table; please see doc/README.standalone for details
* Patch by Dave Westwood, 24 Jul 2003:
  added support for Unity OS (a proprietary OS)
Diffstat (limited to 'common/cmd_log.c')
| -rw-r--r-- | common/cmd_log.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/common/cmd_log.c b/common/cmd_log.c index 8780da5e2..57ef48461 100644 --- a/common/cmd_log.c +++ b/common/cmd_log.c @@ -86,8 +86,7 @@ void logbuff_init_ptrs (void)  	post_word = post_word_load();  #ifdef CONFIG_POST  	/* The post routines have setup the word so we can simply test it */ - 	if (((post_word & 0xffff) == POST_POWERON) || -	    ((post_word & 0xffff) == POST_SLOWTEST)) { + 	if (post_word_load () & POST_COLDBOOT) {   		logged_chars = log_size = log_start = 0;  		*ext_tag = LOGBUFF_MAGIC;   	} |