summaryrefslogtreecommitdiff
path: root/fs/ext4/ext4fs.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-10-22 06:43:50 +0000
committerTom Rini <trini@ti.com>2012-10-29 14:21:19 -0700
commit03e2ecf6b83e43803f7eed9547d0973b7eb1c8fc (patch)
tree6595ea8f6eef3aa28b7f404946bae4579aa19f90 /fs/ext4/ext4fs.c
parent672ee2110c478d04bd95111bb6c9d5bcacf4b7aa (diff)
downloadu-boot-imx-03e2ecf6b83e43803f7eed9547d0973b7eb1c8fc.zip
u-boot-imx-03e2ecf6b83e43803f7eed9547d0973b7eb1c8fc.tar.gz
u-boot-imx-03e2ecf6b83e43803f7eed9547d0973b7eb1c8fc.tar.bz2
fs: separate CONFIG_FS_{FAT, EXT4} from CONFIG_CMD_{FAT, EXT*}
This makes the FAT and ext4 filesystem implementations build if CONFIG_FS_{FAT,EXT4} are defined, rather than basing the build on whether CONFIG_CMD_{FAT,EXT*} are defined. This will allow the filesystems to be built separately from the filesystem-specific commands that use them. This paves the way for the creation of filesystem-generic commands that used the filesystems, without requiring the filesystem- specific commands. Minor documentation changes are made for this change. The new config options are automatically selected by the old config options to retain backwards-compatibility. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'fs/ext4/ext4fs.c')
-rw-r--r--fs/ext4/ext4fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4fs.c b/fs/ext4/ext4fs.c
index 3a5ef20..06536ba 100644
--- a/fs/ext4/ext4fs.c
+++ b/fs/ext4/ext4fs.c
@@ -196,7 +196,7 @@ int ext4fs_read(char *buf, unsigned len)
return ext4fs_read_file(ext4fs_file, 0, len, buf);
}
-#if defined(CONFIG_CMD_EXT4_WRITE)
+#if defined(CONFIG_EXT4_WRITE)
static void ext4fs_update(void)
{
short i;