Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> --- fs/pstore/platform.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index 0a6fa38edca9..f4b77226d906 100644 --- a/fs/pstore/platform.c +++ b/fs/pstore/platform.c @@ -73,6 +73,9 @@ static void pstore_console_capture_log(void) uint64_t id; struct log_entry *log, *tmp; + if (IS_ENABLED(CONFIG_CONSOLE_NONE)) + return; + list_for_each_entry_safe(log, tmp, &barebox_logbuf, list) { psinfo->write_buf(PSTORE_TYPE_CONSOLE, 0, &id, 0, log->msg, 0, strlen(log->msg), psinfo); -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox