diff options
author | Shiyu Sun <sshiyu@google.com> | 2020-12-17 02:31:40 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-12-23 01:37:28 +0000 |
commit | 10d71d9393d7293ee42ee7e95786ac7f09f183bd (patch) | |
tree | ea9b7b310ec24a481c360cf09754a079bd7c5fa8 /spi.c | |
parent | 55583c0d9dac40302dad4097da51ecabd26adf0d (diff) | |
download | flashrom-10d71d9393d7293ee42ee7e95786ac7f09f183bd.tar.gz flashrom-10d71d9393d7293ee42ee7e95786ac7f09f183bd.tar.bz2 flashrom-10d71d9393d7293ee42ee7e95786ac7f09f183bd.zip |
realtek_mst_i2c_spi.c: Add ISP mode check
Check ISP mode before doing reset and add waiting
after the enter ISP mode command.
BUG=None
TEST=build and run mst commands
Signed-off-by: Shiyu Sun <sshiyu@chromium.org>
Change-Id: Ib1ab8370eb6335a77bb293fc98a8ab7be465db4f
Reviewed-on: https://review.coreboot.org/c/flashrom/+/48662
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'spi.c')
0 files changed, 0 insertions, 0 deletions