mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
log: Add missing category names
Add some category names that were missed in recent changes. Update the comment as a reminder. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b90daf2743
commit
8021296a71
2 changed files with 8 additions and 1 deletions
|
@ -21,6 +21,11 @@ static const char *log_cat_name[LOGC_COUNT - LOGC_NONE] = {
|
||||||
"driver-model",
|
"driver-model",
|
||||||
"device-tree",
|
"device-tree",
|
||||||
"efi",
|
"efi",
|
||||||
|
"alloc",
|
||||||
|
"sandbox",
|
||||||
|
"bloblist",
|
||||||
|
"devres",
|
||||||
|
"acpi",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *log_level_name[LOGL_COUNT] = {
|
static const char *log_level_name[LOGL_COUNT] = {
|
||||||
|
|
|
@ -42,7 +42,9 @@ enum log_level_t {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Log categories supported. Most of these correspond to uclasses (i.e.
|
* Log categories supported. Most of these correspond to uclasses (i.e.
|
||||||
* enum uclass_id) but there are also some more generic categories
|
* enum uclass_id) but there are also some more generic categories.
|
||||||
|
*
|
||||||
|
* Remember to update log_cat_name[] after adding a new category.
|
||||||
*/
|
*/
|
||||||
enum log_category_t {
|
enum log_category_t {
|
||||||
LOGC_FIRST = 0, /* First part mirrors UCLASS_... */
|
LOGC_FIRST = 0, /* First part mirrors UCLASS_... */
|
||||||
|
|
Loading…
Add table
Reference in a new issue