projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spl: fat/fs: Add option to include/exclude FAT write build in SPL
[oweals/u-boot.git]
/
fs
/
fat
/
fat.c
diff --git
a/fs/fat/fat.c
b/fs/fat/fat.c
index 179bf4f3d89de7d0c7bfc3e500224b7245fcacdb..dac86ea5163c486a3561fc400c6f554a805da764 100644
(file)
--- a/
fs/fat/fat.c
+++ b/
fs/fat/fat.c
@@
-145,7
+145,8
@@
static void get_name(dir_entry *dirent, char *s_name)
}
static int flush_dirty_fat_buffer(fsdata *mydata);
-#if !defined(CONFIG_FAT_WRITE)
+
+#if !CONFIG_IS_ENABLED(FAT_WRITE)
/* Stub for read only operation */
int flush_dirty_fat_buffer(fsdata *mydata)
{