diff options
author | Simon Glass <sjg@chromium.org> | 2018-10-01 12:22:32 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-10-09 04:40:27 -0600 |
commit | 0bf964592ab2955957e1c265508ade345ff7683b (patch) | |
tree | d58c33240e6082b5c855bd04b88c493e0f3b140b /include | |
parent | 741f2d620c3ff2d59d3b25c344ab6b8bec4a4c87 (diff) | |
download | u-boot-0bf964592ab2955957e1c265508ade345ff7683b.zip u-boot-0bf964592ab2955957e1c265508ade345ff7683b.tar.gz u-boot-0bf964592ab2955957e1c265508ade345ff7683b.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/log.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/log.h b/include/log.h index 2e134f1..a872fc6 100644 --- a/include/log.h +++ b/include/log.h @@ -39,17 +39,17 @@ enum log_level_t { enum log_category_t { LOGC_FIRST = 0, /* First part mirrors UCLASS_... */ - LOGC_NONE = UCLASS_COUNT, - LOGC_ARCH, - LOGC_BOARD, - LOGC_CORE, + LOGC_NONE = UCLASS_COUNT, /* First number is after all uclasses */ + LOGC_ARCH, /* Related to arch-specific code */ + LOGC_BOARD, /* Related to board-specific code */ + LOGC_CORE, /* Related to core features (non-driver-model) */ LOGC_DM, /* Core driver-model */ LOGC_DT, /* Device-tree */ LOGC_EFI, /* EFI implementation */ LOGC_ALLOC, /* Memory allocation */ - LOGC_COUNT, - LOGC_END, + LOGC_COUNT, /* Number of log categories */ + LOGC_END, /* Sentinel value for a list of log categories */ }; /* Helper to cast a uclass ID to a log category */ |