#include <watchdog.h>
#include <post.h>
+#ifdef CONFIG_LOGBUFFER
+#include <logbuff.h>
+#endif
+
#ifdef CONFIG_POST
#define POST_MAX_NUMBER 32
post_bootmode_test_on (i);
}
- post_log ("START %s\n", test->cmd);
+ post_log ("POST %s ", test->cmd);
}
if ((*test->test) (flags) != 0)
i = vsprintf (printbuffer, format, args);
va_end (args);
+#ifdef CONFIG_LOGBUFFER
+ logbuff_log (printbuffer);
+#else
/* Send to the stdout file */
puts (printbuffer);
+#endif
return 0;
}