mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Drop the log buffer
This does not appear to be used by any boards. Before introducing a new log system, remove this old one. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -15,10 +15,6 @@
|
||||
#include <asm/gpio.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_LOGBUFFER
|
||||
#include <logbuff.h>
|
||||
#endif
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#define POST_MAX_NUMBER 32
|
||||
@@ -407,13 +403,8 @@ int post_log(char *format, ...)
|
||||
vsprintf(printbuffer, format, args);
|
||||
va_end(args);
|
||||
|
||||
#ifdef CONFIG_LOGBUFFER
|
||||
/* Send to the logbuffer */
|
||||
logbuff_log(printbuffer);
|
||||
#else
|
||||
/* Send to the stdout file */
|
||||
puts(printbuffer);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user