summaryrefslogtreecommitdiffstats
path: root/realtek_mst_i2c_spi.c
diff options
context:
space:
mode:
authorShiyu Sun <sshiyu@google.com>2020-10-15 22:55:41 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2020-10-23 02:56:09 +0000
commit224d442bd91ceea2919ef9743b6eaee453fb7e1e (patch)
tree9f4cef916cfb4db0d8943e395eada8e883b7aba4 /realtek_mst_i2c_spi.c
parent51261541be66727e4823a6dd342771ea00714a1c (diff)
downloadflashrom-224d442bd91ceea2919ef9743b6eaee453fb7e1e.tar.gz
flashrom-224d442bd91ceea2919ef9743b6eaee453fb7e1e.tar.bz2
flashrom-224d442bd91ceea2919ef9743b6eaee453fb7e1e.zip
realtek_mst_i2c_spi.c: Trigger gpio 88 toggle down after write
BUG=b:152558985,b:148745673 BRANCH=none TEST=builds Change-Id: I1407714e1bb4cf2472090bae8a613c7103a5938c Signed-off-by: Shiyu Sun <sshiyu@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/46448 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'realtek_mst_i2c_spi.c')
-rw-r--r--realtek_mst_i2c_spi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/realtek_mst_i2c_spi.c b/realtek_mst_i2c_spi.c
index 63ff510ce..43cf25b25 100644
--- a/realtek_mst_i2c_spi.c
+++ b/realtek_mst_i2c_spi.c
@@ -393,8 +393,7 @@ static int realtek_mst_i2c_spi_write_256(struct flashctx *flash, const uint8_t *
break;
}
-
- /* TODO: re-enable the write protection? */
+ ret |= realtek_mst_i2c_spi_toggle_gpio_88_strap(fd, false);
return ret;
}