diff mbox series

[U-Boot,1/1] log: add category LOGC_EFI

Message ID 20180120174959.9732-1-xypron.glpk@gmx.de
State Changes Requested
Delegated to: Simon Glass
Headers show
Series [U-Boot,1/1] log: add category LOGC_EFI | expand

Commit Message

Heinrich Schuchardt Jan. 20, 2018, 5:49 p.m. UTC
The EFI implementation does not fit into any of the existing categories.

Provide LOGC_EFI so that EFI related message can be filtered.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 doc/README.log | 1 +
 include/log.h  | 1 +
 2 files changed, 2 insertions(+)

Comments

Simon Glass Jan. 22, 2018, 12:30 a.m. UTC | #1
On 20 January 2018 at 10:49, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
> The EFI implementation does not fit into any of the existing categories.
>
> Provide LOGC_EFI so that EFI related message can be filtered.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  doc/README.log | 1 +
>  include/log.h  | 1 +
>  2 files changed, 2 insertions(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>

Please can you rebase this on u-boot-dm/log-working? It has names for
the log categories.

Regards,
Simon
diff mbox series

Patch

diff --git a/doc/README.log b/doc/README.log
index f653fe7d79..be9978a270 100644
--- a/doc/README.log
+++ b/doc/README.log
@@ -51,6 +51,7 @@  The following main categories are defined:
    LOGC_BOARD	- Related to board-specific code
    LOGC_CORE	- Related to core driver-model support
    LOGC_DT	- Related to device tree control
+   LOGC_EFI	- Related to the EFI implementation
 
 
 Enabling logging
diff --git a/include/log.h b/include/log.h
index 8083b64831..b155725de0 100644
--- a/include/log.h
+++ b/include/log.h
@@ -43,6 +43,7 @@  enum log_category_t {
 	LOGC_BOARD,
 	LOGC_CORE,
 	LOGC_DT,
+	LOGC_EFI,
 
 	LOGC_COUNT,
 	LOGC_END,