mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Addition rwbuffer interfaces should not be enabled unless they are needed; if rwbuffer support is enabled, it should not be unconditionally enabled in SMART and FTL
This commit is contained in:
@@ -62,6 +62,23 @@ config DRVR_READAHEAD
|
||||
Enable generic read-ahead buffering support that can be used by a
|
||||
variety of drivers.
|
||||
|
||||
if DRVR_WRITEBUFFER || DRVR_READAHEAD
|
||||
|
||||
config DRVR_READBYTES
|
||||
bool "Support byte read method"
|
||||
default y if MTD_BYTE_WRITE
|
||||
default n if !MTD_BYTE_WRITE
|
||||
|
||||
config DRVR_REMOVABLE
|
||||
bool "Support removable media"
|
||||
default n
|
||||
|
||||
config DRVR_INVALIDATE
|
||||
bool "Support cache invalidation"
|
||||
default n
|
||||
|
||||
endif # DRVR_WRITEBUFFER || DRVR_READAHEAD
|
||||
|
||||
config RAMDISK
|
||||
bool "RAM Disk Support"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user