mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-23 07:01:38 +00: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:
parent
0ad0458c76
commit
c5404b64fb
12 changed files with 5 additions and 436 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*
|
||||
* Be sure to mark tests to be run before relocation as such with the
|
||||
* CONFIG_SYS_POST_PREREL flag so that logging is done correctly if the
|
||||
* logbuffer support is enabled.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue