summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-28 15:00:16 -0700
committerTom Rini <trini@konsulko.com>2023-02-06 13:04:53 -0500
commit4f6daaca0fa225e785bd8293d7c5c88d9ff0b1bd (patch)
treef5eea03baf9710eeb208992dae416b67199b7502 /fs
parent3574eb8229fd36b96b29adf0891272e16930e24a (diff)
downloadu-boot-4f6daaca0fa225e785bd8293d7c5c88d9ff0b1bd.tar.gz
u-boot-4f6daaca0fa225e785bd8293d7c5c88d9ff0b1bd.tar.bz2
u-boot-4f6daaca0fa225e785bd8293d7c5c88d9ff0b1bd.zip
log: Add a category for filesystems
Sometimes it is useful to log things related to filesystems. Add a new category and place it at the top of one of the FAT files. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/fat/fat_write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fat/fat_write.c b/fs/fat/fat_write.c
index 8ff2f6def0..00541ebc3a 100644
--- a/fs/fat/fat_write.c
+++ b/fs/fat/fat_write.c
@@ -5,6 +5,8 @@
* R/W (V)FAT 12/16/32 filesystem implementation by Donggeun Kim
*/
+#define LOG_CATEGORY LOGC_FS
+
#include <common.h>
#include <command.h>
#include <config.h>