Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/38833 )
Change subject: sb600spi: Add spireadmode
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/flashrom/+/38833/1/sb600spi.c
File sb600spi.c:
https://review.coreboot.org/c/flashrom/+/38833/1/sb600spi.c@509
PS1, Line 509: if (spispeed_idx >= 0 && set_speed(dev, spispeed_idx) != 0) {
: return 1;
: }
: return 0;
Well, if spispeed_idx is negative, the previous code would have barfed. […]
Well, the previous code defaulted to 3, so it never barfed. Still, I would consider it an error. I would at least print a warning if that happens.
--
To view, visit
https://review.coreboot.org/c/flashrom/+/38833
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Id7fec7eb87ff811148217dc56a86dca3fef122ff
Gerrit-Change-Number: 38833
Gerrit-PatchSet: 2
Gerrit-Owner: Rob Barnes
robbarnes@google.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: Edward O'Callaghan
quasisec@chromium.org
Gerrit-Reviewer: Rob Barnes
robbarnes@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Sat, 15 Feb 2020 10:56:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Rob Barnes
robbarnes@google.com
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment