mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Remove drivers/mtd/flash_eraseall.c. It is not used in the OS and is just a dumb wrapper around the MDIOC_BULKERASE IOCTL call.
This commit is contained in:
@@ -298,17 +298,6 @@ FAR struct mtd_dev_s *mtd_rwb_initialize(FAR struct mtd_dev_s *mtd);
|
||||
|
||||
int ftl_initialize(int minor, FAR struct mtd_dev_s *mtd);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: flash_eraseall
|
||||
*
|
||||
* Description:
|
||||
* Call a block driver with the MTDIOC_BULKERASE ioctl command. This will
|
||||
* cause the MTD driver to erase all of the flash.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int flash_eraseall(FAR const char *driver);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: smart_initialize
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user