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/post.c | |
parent | 0ad0458c76107b29325b8c38804e0407bed42a79 (diff) | |
download | u-boot-c5404b64fb5a35d41f7eff6d12b8ffdb0c851040.tar.gz u-boot-c5404b64fb5a35d41f7eff6d12b8ffdb0c851040.tar.bz2 u-boot-c5404b64fb5a35d41f7eff6d12b8ffdb0c851040.zip |
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/post.c')
-rw-r--r-- | post/post.c | 9 |
1 files changed, 0 insertions, 9 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; } |