diff --git a/components/dfs/filesystems/jffs2/jffs2_config.h b/components/dfs/filesystems/jffs2/jffs2_config.h index f07d7760f..ad2eb879d 100644 --- a/components/dfs/filesystems/jffs2/jffs2_config.h +++ b/components/dfs/filesystems/jffs2/jffs2_config.h @@ -7,11 +7,14 @@ #define DEVICE_PART_MAX 1 /* the max partions on a nand deivce*/ +/* memory page size in kernel/asm/page.h, it is correspond with flash read/write + * option, so this size has a great impact on reading/writing speed */ +#define CONFIG_JFFS2_PAGE_SHIFT 12 /* (1<<12) 4096bytes*/ /* jffs2 support relative dir, command "ls" will get * +-------------------------------+ * | finsh>>ls("/") | - * | Directory /: | + * | Directory /: | * | .