Faster flashing with SMFI (#32)
* WIP: support for new flashing API * Add SPI flashing support to tool * Add timeouts when flashing with ectool * Test SPI reading * Use chunks for SPI commands * Sanity test of flash size * Read rom in sectors * Relocate memmap region, remove PMC3 * Use ectool to flash * Remove debugging of spi command * Fix flashing over smfi
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
Parameter,
|
||||
Protocol(u8),
|
||||
Signature((u8, u8)),
|
||||
SuperIoId(u16),
|
||||
Timeout,
|
||||
Verify,
|
||||
WouldBlock,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user