mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08: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;
|
||||
}
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user