spiFlash: Add --bulk-erase command line option

Adds a --bulk-erase command line option for bulk erasure of SPI flash.
This commit is contained in:
Rod Whitby
2022-11-06 18:56:07 +10:30
parent d782877d0a
commit de5aff7a96
14 changed files with 103 additions and 3 deletions
+6
View File
@@ -40,6 +40,12 @@ class Xilinx: public Device, SPIInterface {
bool unprotect_flash() override {
return SPIInterface::unprotect_flash();
}
/*!
* \brief erase SPI flash blocks
*/
bool bulk_erase_flash() override {
return SPIInterface::bulk_erase_flash();
}
int idCode() override;
void reset() override;