aboutsummaryrefslogtreecommitdiffstats
path: root/board_enable.c
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2020-07-16 12:03:20 -0700
committerEdward O'Callaghan <quasisec@chromium.org>2020-07-21 01:48:16 +0000
commitc66d5f8cb39807527d5b9433b2d82d10c0c8940e (patch)
tree0c4019c39083302578163409b4fbf760585aa327 /board_enable.c
parentcaf56e7ac94e5e266ee89ffa9f6392d7e08beac8 (diff)
downloadflashrom-c66d5f8cb39807527d5b9433b2d82d10c0c8940e.tar.gz
flashrom-c66d5f8cb39807527d5b9433b2d82d10c0c8940e.tar.bz2
flashrom-c66d5f8cb39807527d5b9433b2d82d10c0c8940e.zip
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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/43527 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'board_enable.c')
0 files changed, 0 insertions, 0 deletions