aboutsummaryrefslogtreecommitdiffstats
path: root/chipset_enable.c
diff options
context:
space:
mode:
authorRobert Zieba <robertzieba@google.com>2022-03-17 14:23:38 -0600
committerEdward O'Callaghan <quasisec@chromium.org>2022-04-21 00:27:38 +0000
commite41620ec061b07d1b18c5a6d7bd46f07c1192b6c (patch)
tree457533a39b296e0185ac7099be347cf693b1aa18 /chipset_enable.c
parent8abe12e86e9353fd8399e2e663bfc64a97ca5dfa (diff)
downloadflashrom-e41620ec061b07d1b18c5a6d7bd46f07c1192b6c.tar.gz
flashrom-e41620ec061b07d1b18c5a6d7bd46f07c1192b6c.tar.bz2
flashrom-e41620ec061b07d1b18c5a6d7bd46f07c1192b6c.zip
raiden_debug_spi: Add more informative error message when WP is enabled
Current error messages are not very helpful when attempting to flash a target that has WP enabled. This change checks for the USB_SPI_DISABLED error that occurs in this case and gives a more informative error message. BUG=b:210645611 TEST=Tested with WP enabled and disable to verify that error message is displayed properly Signed-off-by: Robert Zieba <robertzieba@google.com> Change-Id: Ib1e8383baa9c3ea41ab1079af12e3dc8cdff90ae Reviewed-on: https://review.coreboot.org/c/flashrom/+/62909 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'chipset_enable.c')
0 files changed, 0 insertions, 0 deletions