diff options
author | Simon Glass <sjg@chromium.org> | 2017-12-04 13:48:23 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-12-07 15:17:00 -0500 |
commit | c5404b64fb5a35d41f7eff6d12b8ffdb0c851040 (patch) | |
tree | 599a546f22a8349cee2989abf10f295124266180 /post | |
parent | 0ad0458c76107b29325b8c38804e0407bed42a79 (diff) |
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>
Diffstat (limited to 'post')
-rw-r--r-- | post/post.c | 9 | ||||
-rw-r--r-- | post/tests.c | 4 |
2 files changed, 0 insertions, 13 deletions
diff --git a/post/post.c b/post/post.c index 8fef0c3412..6c7902ad0c 100644 --- a/post/post.c +++ b/post/post.c @@ -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; } diff --git a/post/tests.c b/post/tests.c index bc8e398051..473c0ea1e1 100644 --- a/post/tests.c +++ b/post/tests.c @@ -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> |