Mary Ruthven uploaded patch set #5 to this change.

View Change

raiden_debug_spi: add param for a custom reset setup

GSC firmware asserts EC_RST_L before programming the AP with
raiden_debug:target=AP.Some Chromium devices don't power the AP flash
when the EC is in reset. These boards can't flash the AP with the
current CCD behavior. This change adds a custom_rst raiden_debug param
to tell Cr50 not to assert EC_RST_L or touch any reset signals while
flashing the AP. Users will need to configure the reset signals before
running the flashrom command.

BUG=b:154885210
BRANCH=none
TEST=manual

flashrom -p raiden_debug:target=EC -r ec.bin

flashrom -p raiden_debug:target=AP -r ap.bin

flashrom -p raiden_debug:target=AP,custom_rst=true -r ap.bin

flashrom -p raiden_debug:target=AP,custom_rst=inv -r ap.bin

flashrom -p raiden_debug -r base.bin

Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Change-Id: I2da26469120c5304bc129b5578fcb7ca805fc1d1
---
M raiden_debug_spi.c
1 file changed, 30 insertions(+), 12 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/27/43527/5

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I2da26469120c5304bc129b5578fcb7ca805fc1d1
Gerrit-Change-Number: 43527
Gerrit-PatchSet: 5
Gerrit-Owner: Mary Ruthven <mruthven@chromium.org>
Gerrit-Reviewer: Brian Nemec <bnemec@chromium.org>
Gerrit-Reviewer: Brian Nemec <bnemec@google.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Andrey Pronin <apronin@chromium.org>
Gerrit-CC: Vadim Bendebury <vbendeb@chromium.org>
Gerrit-MessageType: newpatchset