From 56f94be3ef63732384063e110277ed89701b6471 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 5 Nov 2002 16:35:14 +0000 Subject: * 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 --- lib_ppc/board.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib_ppc') diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 347b6637d3..bfc494ef8e 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -57,6 +57,9 @@ #if defined(CONFIG_POST) #include #endif +#if defined(CONFIG_LOGBUFFER) +#include +#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) || \ -- cgit v1.2.1