add MTDIOCTL_PROGMEM_ERASESTATE support

Signed-off-by: Andres Sanchez <tito97_sp@hotmail.com>

solve style check errors.
This commit is contained in:
Andres Sanchez
2021-11-16 12:04:02 +01:00
committed by Alan Carvalho de Assis
parent 6db480a7f9
commit 064f6c8c55
6 changed files with 54 additions and 0 deletions
+11
View File
@@ -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