summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-11-05 16:35:14 +0000
committerwdenk <wdenk>2002-11-05 16:35:14 +0000
commit56f94be3ef63732384063e110277ed89701b6471 (patch)
tree6c7acdd32964b741cb69a8f0b03d5b9891587458 /lib_ppc
parent384ae02506f0673070a3516b1858f058a07f85f3 (diff)
downloadu-boot-imx-56f94be3ef63732384063e110277ed89701b6471.zip
u-boot-imx-56f94be3ef63732384063e110277ed89701b6471.tar.gz
u-boot-imx-56f94be3ef63732384063e110277ed89701b6471.tar.bz2
* Add support for log buffer which can be passed to Linux kernel's
syslog mechanism; used especially for POST results. * Patch by Klaus Heydeck, 31 Oct 2002: Add initial support for kup4k board
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 347b663..bfc494e 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -57,6 +57,9 @@
#if defined(CONFIG_POST)
#include <post.h>
#endif
+#if defined(CONFIG_LOGBUFFER)
+#include <logbuff.h>
+#endif
#if (CONFIG_COMMANDS & CFG_CMD_DOC)
void doc_init (void);
@@ -598,6 +601,9 @@ void board_init_r (gd_t *id, ulong dest_addr)
WATCHDOG_RESET ();
+#ifdef CONFIG_LOGBUFFER
+ logbuff_reset ();
+#endif
#ifdef CONFIG_POST
post_reloc ();
#endif
@@ -778,6 +784,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
defined(CONFIG_CPCI405) || \
defined(CONFIG_EVB64260) || \
defined(CONFIG_HYMOD) || \
+ defined(CONFIG_KUP4K) || \
defined(CONFIG_LWMON) || \
defined(CONFIG_PCU_E) || \
defined(CONFIG_W7O) || \