diff options
author | Alexander Goncharov <chat@joursoir.net> | 2022-10-24 12:57:09 +0300 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-11-29 21:07:43 +0000 |
commit | 67e5c6afa43cbf3a876ae43a77e759d001864757 (patch) | |
tree | 79782c3cc5c3acccc91769fea46f95ca456ae6b7 /spi25.c | |
parent | d0fc4e76e16b6c413519fcfaba9f382afd080407 (diff) | |
download | flashrom-67e5c6afa43cbf3a876ae43a77e759d001864757.tar.gz flashrom-67e5c6afa43cbf3a876ae43a77e759d001864757.tar.bz2 flashrom-67e5c6afa43cbf3a876ae43a77e759d001864757.zip |
tests: add probe lifecycle test for ch341a_spi
This test upgrades mocks to simulate a read request. Read buffer
is populated with chip manufacture id and chip model id to emulate
successful probing.
TEST=ninja test
Change-Id: I0a2d5591d097435fc69719e1d9bd153433425821
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/68755
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'spi25.c')
0 files changed, 0 insertions, 0 deletions