sandbox: log: Add a category for sandbox
authorSimon Glass <sjg@chromium.org>
Tue, 6 Nov 2018 22:21:24 +0000 (15:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Nov 2018 02:14:22 +0000 (19:14 -0700)
It seems useful to make sandbox its own log category since it is used for
so much testing. Add this as a new category.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/log.h

index a872fc6ef5fd67a337827762607c5db93c291d5a..deab82966bdf41090991da1d977d3037b93f6f03 100644 (file)
@@ -47,6 +47,7 @@ enum log_category_t {
        LOGC_DT,        /* Device-tree */
        LOGC_EFI,       /* EFI implementation */
        LOGC_ALLOC,     /* Memory allocation */
+       LOGC_SANDBOX,   /* Related to the sandbox board */
 
        LOGC_COUNT,     /* Number of log categories */
        LOGC_END,       /* Sentinel value for a list of log categories */