diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-07-12 07:10:18 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-07-12 07:10:18 +0200 |
commit | cab56acd98643d7cf08ab992cbb0557b4c2488f7 (patch) | |
tree | 404123ae35e715a6d2682795fad2632f9abe3d5f /common | |
parent | ca1c1456a16ee50f60f53e4efda04b310372a9b7 (diff) | |
parent | 5b1bc2224cff7deb2f1e048bb82a60d857f642be (diff) | |
download | barebox-cab56acd98643d7cf08ab992cbb0557b4c2488f7.tar.gz barebox-cab56acd98643d7cf08ab992cbb0557b4c2488f7.tar.xz |
Merge branch 'for-next/pstore'
Diffstat (limited to 'common')
-rw-r--r-- | common/console_common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/console_common.c b/common/console_common.c index a4d2636753..6916f651e5 100644 --- a/common/console_common.c +++ b/common/console_common.c @@ -29,6 +29,7 @@ #include <password.h> #include <clock.h> #include <malloc.h> +#include <linux/pstore.h> #include <asm-generic/div64.h> #ifndef CONFIG_CONSOLE_NONE @@ -116,7 +117,10 @@ static void pr_puts(int level, const char *str) barebox_logbuf_num_messages++; } } + + pstore_log(str); nolog: + if (level > barebox_loglevel) return; |