flashchips: Explicitly zero-initialize in .qpi_read_params
The last number was left out on purpose for GD25LE255E, because the
setting is reserved. Clang is picky about this case, though, due to
`-Wmissing-field-initializers'.
Change-Id: I0a6915d37a4413eecc33ac88d2e20ad6a327cd38
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/332
diff --git a/flashchips.c b/flashchips.c
index c4dfe1c..990914f 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -7849,7 +7849,7 @@
.feature_bits = FEATURE_WRSR_EITHER | FEATURE_WRSR_EXT2 | FEATURE_WRSR3 |
FEATURE_OTP | (FEATURE_4BA & ~FEATURE_4BA_FAST_READ) |
FEATURE_FAST_READ_QPI4B | (FEATURE_QPI_SRP & ~FEATURE_QIO),
- .dummy_cycles = { .qpi_read_params = { 4, 6, 8, } },
+ .dummy_cycles = { .qpi_read_params = { 4, 6, 8, 0 } },
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,