mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
add MTDIOCTL_PROGMEM_ERASESTATE support
Signed-off-by: Andres Sanchez <tito97_sp@hotmail.com> solve style check errors.
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
6db480a7f9
commit
064f6c8c55
@@ -136,6 +136,17 @@ config MTD_PROGMEM
|
||||
using the interfaces defined in include/nuttx/progmem. Those
|
||||
interfaces must be exported by chip-specific logic.
|
||||
|
||||
if MTD_PROGMEM
|
||||
|
||||
config MTD_PROGMEM_ERASESTATE
|
||||
bool "Enable FLASH MTD device erasestate"
|
||||
depends on ARCH_HAVE_PROGMEM_ERASESTATE
|
||||
---help---
|
||||
Enable the ioctl MTDIOCTL_PROGMEM_ERASESTATE command in the on-chip
|
||||
FLASH interface.
|
||||
|
||||
endif #MTD_PROGMEM
|
||||
|
||||
config MTD_CONFIG
|
||||
bool "Enable Dev Config (MTD based) device"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user