Commit Graph

8 Commits

Author SHA1 Message Date
43e5cf4ba3 Fix or silence clippy warnings on nightly
Fix:
- dead_code
- clippy::if_then_panic
- clippy::manual_memcpy
- clippy::needless_borrow

Silence:
- clippy::missing_safety_doc
- clippy::needless_range_loop
- clippy::single_match

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-10-26 11:35:48 -06:00
3e154d7f00 Add missing SPDX identifiers 2021-02-22 14:02:18 -07:00
eff4caa752 Refactor SMFI interface and ectool 2020-10-01 19:35:34 -07:00
a8b38d6b37 tool: 0.1.3 - add backup ROM flashing 2020-04-06 16:39:40 -06:00
d1468da590 Use 1024 byte erase 2020-02-27 14:48:24 -07:00
33cc2a2a76 Better output when flashing EC 2020-02-27 14:46:32 -07:00
68b9acd249 Add ability to flash backup rom 2020-02-26 13:43:31 -07:00
657437e1ce 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
2020-02-26 09:04:40 -07:00