* 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
12 lines
156 B
Rust
12 lines
156 B
Rust
#[derive(Debug)]
|
|
pub enum Error {
|
|
Parameter,
|
|
Protocol(u8),
|
|
Signature((u8, u8)),
|
|
SuperIoId(u16),
|
|
Timeout,
|
|
Verify,
|
|
WouldBlock,
|
|
}
|
|
|