Edward O'Callaghan has uploaded this change for review.
raiden_debug_spi.c: Allow custom_rst param value of 'false'
As identified while documenting driver, allow for passing
'false' even though it is the default for custom_rst to be
consistent.
BUG=b:224358254
TEST=builds
Change-Id: I25bfe6f8e3f7cfffb1a9c99ac90ec56a750d7f84
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
---
M raiden_debug_spi.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/01/63601/1
diff --git a/raiden_debug_spi.c b/raiden_debug_spi.c
index 3f35552..e37c313 100644
--- a/raiden_debug_spi.c
+++ b/raiden_debug_spi.c
@@ -1414,6 +1414,8 @@
if (custom_rst_str) {
if (!strcasecmp(custom_rst_str, "true"))
ap_request = RAIDEN_DEBUG_SPI_REQ_ENABLE_AP_CUSTOM;
+ else if (!strcasecmp(custom_rst_str, "false"))
+ ap_request = RAIDEN_DEBUG_SPI_REQ_ENABLE_AP;
else {
msg_perr("Invalid custom rst param: %s\n",
custom_rst_str);
To view, visit change 63601. To unsubscribe, or for help writing mail filters, visit settings.