log: add category LOGC_EFI
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> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
3707c6ee0d
commit
1973b381a1
@ -21,6 +21,7 @@ static const char *log_cat_name[LOGC_COUNT - LOGC_NONE] = {
|
|||||||
"core",
|
"core",
|
||||||
"driver-model",
|
"driver-model",
|
||||||
"device-tree",
|
"device-tree",
|
||||||
|
"efi",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *log_level_name[LOGL_COUNT] = {
|
static const char *log_level_name[LOGL_COUNT] = {
|
||||||
|
@ -51,6 +51,7 @@ The following main categories are defined:
|
|||||||
LOGC_BOARD - Related to board-specific code
|
LOGC_BOARD - Related to board-specific code
|
||||||
LOGC_CORE - Related to core driver-model support
|
LOGC_CORE - Related to core driver-model support
|
||||||
LOGC_DT - Related to device tree control
|
LOGC_DT - Related to device tree control
|
||||||
|
LOGC_EFI - Related to EFI implementation
|
||||||
|
|
||||||
|
|
||||||
Enabling logging
|
Enabling logging
|
||||||
|
@ -46,6 +46,7 @@ enum log_category_t {
|
|||||||
LOGC_CORE,
|
LOGC_CORE,
|
||||||
LOGC_DM, /* Core driver-model */
|
LOGC_DM, /* Core driver-model */
|
||||||
LOGC_DT, /* Device-tree */
|
LOGC_DT, /* Device-tree */
|
||||||
|
LOGL_EFI, /* EFI implementation */
|
||||||
|
|
||||||
LOGC_COUNT,
|
LOGC_COUNT,
|
||||||
LOGC_END,
|
LOGC_END,
|
||||||
|
Loading…
Reference in New Issue
Block a user