Shiyu Sun uploaded patch set #7 to this change.

View Change

realtek_mst_i2c_spi.c: Update write protection toggle function

The write protection trigger has been updated by the vendor so update
here as well. Basically the idea is to push the GPIO pin for write
protection to low or high.

The process would be:
1. write to GPIO configuration register to enable write protection
pin value update.
2. write to GPIO data register to toggle the actual protection pin
value.

BUG=b:152558985,b:148745673
BRANCH=none
TEST=builds && verified the write protection get disabled.

Change-Id: I1aed0086f917e31bebb51857ad5cce138158fe82
Signed-off-by: Shiyu Sun <sshiyu@chromium.org>
---
M realtek_mst_i2c_spi.c
1 file changed, 39 insertions(+), 15 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/89/46089/7

To view, visit change 46089. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I1aed0086f917e31bebb51857ad5cce138158fe82
Gerrit-Change-Number: 46089
Gerrit-PatchSet: 7
Gerrit-Owner: Shiyu Sun <sshiyu@google.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Sam McNally <sammc@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset