mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 09:59:03 +02:00
all devices / spiInterface / main: added method / infra to detect flash chip with --detect -f
This commit is contained in:
@@ -46,6 +46,12 @@ class Altera: public Device, SPIInterface {
|
||||
/* spi interface */
|
||||
/*************************/
|
||||
|
||||
/*!
|
||||
* \brief display SPI flash ID and status register
|
||||
*/
|
||||
bool detect_flash() override {
|
||||
return SPIInterface::detect_flash();
|
||||
}
|
||||
/*!
|
||||
* \brief protect SPI flash blocks
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user