From e91704c432920f211261c4ea2a107e986151b7b8 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 11 Jul 2014 16:25:35 -0600 Subject: [PATCH] Minor Kconfig improvements --- drivers/Kconfig | 4 ++++ drivers/mtd/Kconfig | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/Kconfig b/drivers/Kconfig index 5241f95025..6f591935b0 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -35,6 +35,8 @@ config LOOP file (or character device) as a block device. See losetup() and loteardown() in include/nuttx/fs/fs.h. +menu "Buffering" + config DRVR_WRITEBUFFER bool "Enable write buffer support" default n @@ -79,6 +81,8 @@ config DRVR_INVALIDATE endif # DRVR_WRITEBUFFER || DRVR_READAHEAD +endmenu # Buffering + config RAMDISK bool "RAM Disk Support" default n diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 16c84225e0..68e7947cf1 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -350,7 +350,7 @@ config M25P_MEMORY_TYPE The memory type for M25 "P" series is 0x20, but the driver also supports "F" series devices, such as the EON EN25F80 part which adds a 4K sector erase capability. The memory type for "F" series parts from EON is 0x31. The 4K sector erase size will - automatically be enabled when filessytems that can use it are enabled, such as SMART. + automatically be enabled when filesytems that can use it are enabled, such as SMART. config M25P_SUBSECTOR_ERASE bool "Sub-Sector Erase" @@ -385,7 +385,7 @@ config MTD_SMART_SECTOR_SIZE files. config MTD_SMART_WRITEBUFFER - bool "Enable SMART write bufferingr" + bool "Enable SMART write buffering" default n depends on DRVR_WRITEBUFFER