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
+2
View File
@@ -46,6 +46,8 @@ class Device {
/**********************/
/* flash access */
/**********************/
virtual bool detect_flash() {
printError("detect flash not supported"); return false;}
virtual bool dumpFlash(uint32_t base_addr, uint32_t len) {
(void) base_addr; (void) len;
printError("dump flash not supported"); return false;}