summaryrefslogtreecommitdiff
path: root/cmd/cramfs.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 03:25:38 -0600
committerTom Rini <trini@konsulko.com>2017-05-22 12:45:31 -0400
commit59e12a4a8c219c4a334a2c2023edd1aa20f82a9e (patch)
tree2d4f9346e3234cdc6b2d122631134f6448658d74 /cmd/cramfs.c
parentb8682a7fcf69344ac5a2d57c75f9c93bfdc93142 (diff)
downloadu-boot-59e12a4a8c219c4a334a2c2023edd1aa20f82a9e.tar.gz
u-boot-59e12a4a8c219c4a334a2c2023edd1aa20f82a9e.tar.bz2
u-boot-59e12a4a8c219c4a334a2c2023edd1aa20f82a9e.zip
fs: Kconfig: Add a separate option for FS_JFFS2
Rather than using CMD_JFFS2 for both the filesystem and its command, we should have a separate option for each. This allows us to enable JFFS2 support without the command, if desired, which reduces U-Boot's size slightly. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/cramfs.c')
-rw-r--r--cmd/cramfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/cramfs.c b/cmd/cramfs.c
index 4e75de8f29..49ee36c74a 100644
--- a/cmd/cramfs.c
+++ b/cmd/cramfs.c
@@ -39,7 +39,7 @@
# define OFFSET_ADJUSTMENT (flash_info[id.num].start[0])
#endif
-#ifndef CONFIG_CMD_JFFS2
+#ifndef CONFIG_FS_JFFS2
#include <linux/stat.h>
char *mkmodestr(unsigned long mode, char *str)
{
@@ -70,7 +70,7 @@ char *mkmodestr(unsigned long mode, char *str)
str[10] = '\0';
return str;
}
-#endif /* CONFIG_CMD_JFFS2 */
+#endif /* CONFIG_FS_JFFS2 */
extern int cramfs_check (struct part_info *info);
extern int cramfs_load (char *loadoffset, struct part_info *info, char *filename);