summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-12-28 23:14:17 +0300
committerSimon Glass <sjg@chromium.org>2018-02-03 20:09:27 +0300
commit3b73e8d067fb7cb504bed2018583980a3cd3f4bc (patch)
tree2544f15394f2d107675c06611649eb5efe8e35fd /include/asm-generic
parentf941c8d76c665045e5d645112a309d12523e19c7 (diff)
downloadu-boot-3b73e8d067fb7cb504bed2018583980a3cd3f4bc.tar.xz
log: Add control over log formatting
It is useful to be able to control the output format of log records on the console. As a starting point, add definitions for controlling which elements of the log record are displayed. Use function and message as the default, since these are the most useful fields. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/global_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index fd8cd45b05..1de67e8e8f 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -119,6 +119,7 @@ typedef struct global_data {
int log_drop_count; /* Number of dropped log messages */
int default_log_level; /* For devices with no filters */
struct list_head log_head; /* List of struct log_device */
+ int log_fmt; /* Mask containing log format info */
#endif
} gd_t;
#endif