提交 195172e6 编写于 作者: L li_zan

change config for fs

上级 51e587ca
......@@ -96,6 +96,7 @@ source "../../kernel/liteos_a/fs/jffs2/Kconfig"
config ENABLE_READ_BUFFER
bool "Enable read buffer Option"
default n
depends on FS_VFS
help
Answer Y to add enable read buffer Option.
......
......@@ -39,5 +39,5 @@ config FS_FAT_VOLUMES
config FS_FAT_DISK
bool "Enable partinfo for storage device"
depends on FS_FAT || DRIVERS_MMC || DRIVERS_USB
depends on FS_VFS && (FS_FAT || DRIVERS_MMC || DRIVERS_USB)
default y
......@@ -37,7 +37,9 @@
#ifndef _DISK_H
#define _DISK_H
#include "fs/fs.h"
#include "los_base.h"
#include "pthread.h"
#ifdef LOSCFG_FS_FAT_CACHE
#include "bcache.h"
......
......@@ -37,7 +37,6 @@
#ifdef LOSCFG_DRIVERS_MMC
#include "mmc/block.h"
#include "disk.h"
#include "ff.h"
#endif
#include "sys/mount.h"
#ifdef LOSCFG_PLATFORM_ROOTFS
......@@ -65,6 +64,7 @@ extern "C" {
#endif /* __cplusplus */
#ifdef LOSCFG_STORAGE_EMMC
#include "ff.h"
#define STORAGE_SIZE 0x3200000
STATIC los_disk *g_emmcDisk = NULL;
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册