mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-09-01 18:48:49 +02:00
colognechip: add bulk erase + quad enable features and simplify spi_wait overload (#582)
* colognechip: add bulk erase + quad enable features and simplify spi_wait overload * colognechip: remove unnecessary code in `set_quad_bit` and `bulk_erase_flash`
This commit is contained in:
+2
-2
@@ -42,8 +42,8 @@ class CologneChip: public Device, SPIInterface {
|
||||
printError("protect flash not supported"); return false;}
|
||||
virtual bool unprotect_flash() override {
|
||||
printError("unprotect flash not supported"); return false;}
|
||||
virtual bool bulk_erase_flash() override {
|
||||
printError("bulk erase flash not supported"); return false;}
|
||||
bool set_quad_bit(bool set_quad) override;
|
||||
bool bulk_erase_flash() override;
|
||||
void program(unsigned int offset, bool unprotect_flash) override;
|
||||
|
||||
uint32_t idCode() override {return 0;}
|
||||
|
||||
Reference in New Issue
Block a user