summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-07-15 21:50:34 +0000
committerwdenk <wdenk>2003-07-15 21:50:34 +0000
commit667122af2d5079589de47855948ce4a3f716cb87 (patch)
treee82d3291cc18584ad354b6a75610fc854f5d2a0a /common
parent2960b65addd7dcfdc4a4852ca2f557482b58dd22 (diff)
downloadu-boot-imx-667122af2d5079589de47855948ce4a3f716cb87.zip
u-boot-imx-667122af2d5079589de47855948ce4a3f716cb87.tar.gz
u-boot-imx-667122af2d5079589de47855948ce4a3f716cb87.tar.bz2
Avoid unnecessary call to post_word_load();
make logbuf compile without POST
Diffstat (limited to 'common')
-rw-r--r--common/cmd_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_log.c b/common/cmd_log.c
index 8a7860e..8780da5 100644
--- a/common/cmd_log.c
+++ b/common/cmd_log.c
@@ -93,7 +93,7 @@ void logbuff_init_ptrs (void)
}
#else
/* No post routines, so we do our own checking */
- if (post_word_load () != LOGBUFF_MAGIC) {
+ if (post_word != LOGBUFF_MAGIC) {
logged_chars = log_size = log_start = 0;
post_word_store (LOGBUFF_MAGIC);
*ext_tag = LOGBUFF_MAGIC;