mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
log: Add comments to the rest of the log categories
At present some of the log categories are missing comments. Add them. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
741f2d620c
commit
0bf964592a
@ -39,17 +39,17 @@ enum log_level_t {
|
|||||||
enum log_category_t {
|
enum log_category_t {
|
||||||
LOGC_FIRST = 0, /* First part mirrors UCLASS_... */
|
LOGC_FIRST = 0, /* First part mirrors UCLASS_... */
|
||||||
|
|
||||||
LOGC_NONE = UCLASS_COUNT,
|
LOGC_NONE = UCLASS_COUNT, /* First number is after all uclasses */
|
||||||
LOGC_ARCH,
|
LOGC_ARCH, /* Related to arch-specific code */
|
||||||
LOGC_BOARD,
|
LOGC_BOARD, /* Related to board-specific code */
|
||||||
LOGC_CORE,
|
LOGC_CORE, /* Related to core features (non-driver-model) */
|
||||||
LOGC_DM, /* Core driver-model */
|
LOGC_DM, /* Core driver-model */
|
||||||
LOGC_DT, /* Device-tree */
|
LOGC_DT, /* Device-tree */
|
||||||
LOGC_EFI, /* EFI implementation */
|
LOGC_EFI, /* EFI implementation */
|
||||||
LOGC_ALLOC, /* Memory allocation */
|
LOGC_ALLOC, /* Memory allocation */
|
||||||
|
|
||||||
LOGC_COUNT,
|
LOGC_COUNT, /* Number of log categories */
|
||||||
LOGC_END,
|
LOGC_END, /* Sentinel value for a list of log categories */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Helper to cast a uclass ID to a log category */
|
/* Helper to cast a uclass ID to a log category */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user