spi25.c: spi_write{_simple}_cmd() should init readarr

BUG=b:170189476
BRANCH=none
TEST=builds

Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Change-Id: I98557abc3bca9e22c856f953a518fdaec849f5b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2467163
Tested-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Sam McNally <sammc@chromium.org>
Commit-Queue: Edward O'Callaghan <quasisec@chromium.org>
Auto-Submit: Edward O'Callaghan <quasisec@chromium.org>
diff --git a/spi25.c b/spi25.c
index 21b4e12..59bad70 100644
--- a/spi25.c
+++ b/spi25.c
@@ -327,9 +327,11 @@
 {
 	struct spi_command cmds[] = {
 	{
+		.readarr = 0,
 		.writecnt = 1,
 		.writearr = (const unsigned char[]){ JEDEC_WREN },
 	}, {
+		.readarr = 0,
 		.writecnt = 1,
 		.writearr = (const unsigned char[]){ op },
 	},
@@ -410,9 +412,11 @@
 	uint8_t cmd[1 + JEDEC_MAX_ADDR_LEN + 256];
 	struct spi_command cmds[] = {
 	{
+		.readarr = 0,
 		.writecnt = 1,
 		.writearr = (const unsigned char[]){ JEDEC_WREN },
 	}, {
+		.readarr = 0,
 		.writearr = cmd,
 	},
 		NULL_SPI_CMD,