add option to bypass reset in SPI write mode. Adapt altera accordingly

This commit is contained in:
Gwenhael Goavec-Merou
2022-05-24 07:29:35 +02:00
parent e066c7f5b0
commit 051e2ecbfb
5 changed files with 24 additions and 9 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ class Altera: public Device, SPIInterface {
Device::prog_type_t prg_type,
const std::string &device_package,
bool verify, int8_t verbose,
bool skip_load_bridge);
bool skip_load_bridge, bool skip_reset);
~Altera();
void programMem(RawParser &_bit);
@@ -66,7 +66,7 @@ class Altera: public Device, SPIInterface {
protected:
bool prepare_flash_access() override;
bool post_flash_access() override {reset(); return true;}
bool post_flash_access() override;
private:
/*!