Functions | |
sint8 | spi_flash_erase (uint32 u32Offset, uint32 u32Sz) |
Erase a specified portion of SPI Flash. . More... | |
Erase a specified portion of SPI Flash.
.
[in] | u32Offset | Address (Offset) to erase from the SPI flash. |
[in] | u32Sz | Size of SPI flash required to be erased. |
References FLASH_PAGE_SZ, i, M2M_PRINT, M2M_SUCCESS, spi_flash_read_status_reg(), spi_flash_sector_erase(), and spi_flash_write_enable().