Fix new dependencies for flash_eraseall

This commit is contained in:
Gregory Nutt 2016-06-03 09:11:22 -06:00
parent 3734b4c966
commit d06b721ba2
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@
config FSUTILS_FLASH_ERASEALL
bool "flash_eraseall() function"
default n
depends on MTD
---help---
Enables support for the callable flash_eraseall() function that can
be used to erase all FLASH backing up a block device driver.

View File

@ -6,7 +6,8 @@
config SYSTEM_FLASH_ERASEALL
bool "FLASH Erase-all Command"
default n
depends on MTD && NSH_BUILTIN_APPS && !BUILD_PROTECTED && !BUILD_KERNEL
depends on MTD && NSH_BUILTIN_APPS
select FSUTILS_FLASH_ERASEALL
---help---
Enable support for the FLASH eraseall tool.