Edward O'Callaghan uploaded patch set #2 to this change.

View Change

spi25.c: Improve spi_simple_write_cmd() diags and readability

Clearly initialise the cmds[] array of structures with explicit
values and improve failure diagnostic line to inline failing op.

BUG=b:170690915
BRANCH=none
TEST=shows opcode

Change-Id: Ib9fc82558035e511ee485fb5aab0bcd3e164c6ba
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
---
M spi25.c
1 file changed, 13 insertions(+), 7 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/52/47452/2

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ib9fc82558035e511ee485fb5aab0bcd3e164c6ba
Gerrit-Change-Number: 47452
Gerrit-PatchSet: 2
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset