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>
diff --git a/common/log.c b/common/log.c
index 1b10f6f..b7a6ebe 100644
--- a/common/log.c
+++ b/common/log.c
@@ -21,6 +21,11 @@
"driver-model",
"device-tree",
"efi",
+ "alloc",
+ "sandbox",
+ "bloblist",
+ "devres",
+ "acpi",
};
static const char *log_level_name[LOGL_COUNT] = {
diff --git a/include/log.h b/include/log.h
index 4acc087..6de5e61 100644
--- a/include/log.h
+++ b/include/log.h
@@ -42,7 +42,9 @@
/**
* 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 {
LOGC_FIRST = 0, /* First part mirrors UCLASS_... */