all devices / spiInterface / main: added method / infra to detect flash chip with --detect -f

This commit is contained in:
Gwenhael Goavec-Merou
2024-06-09 09:28:52 +02:00
parent d0dd71a28a
commit c468a69fc9
11 changed files with 126 additions and 2 deletions
+4
View File
@@ -53,6 +53,10 @@ class Xilinx: public Device, SPIInterface {
*/
uint32_t dumpRegister(const std::string reg_name);
/*!
* \brief display SPI flash ID and status register
*/
bool detect_flash() override;
/*!
* \brief protect SPI flash blocks
*/