summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flashchips.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/flashchips.c b/flashchips.c
index 246f1397d..0906b1f74 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -17458,21 +17458,20 @@ const struct flashchip flashchips[] = {
.bustype = BUS_SPI,
.manufacture_id = GENERIC_MANUF_ID,
.model_id = SFDP_DEVICE_ID,
- /* We present our own "report this" text hence we do not
- * want the default "This flash part has status UNTESTED..."
- * text to be printed. */
+ .total_size = 0, /* set by probing function */
+ .page_size = 0, /* set by probing function */
+ .feature_bits = 0, /* set by probing function */
+ /* We present our own "report this" text hence we do not */
+ /* want the default "This flash part has status UNTESTED..." */
+ /* text to be printed. */
.tested = TEST_OK_PREW,
.probe = probe_spi_sfdp,
+ .block_erasers = {}, /* set by probing function */
.unlock = spi_disable_blockprotect, /* is this safe? */
+ .write = NULL, /* set by probing function */
.read = spi_chip_read,
/* FIXME: some vendor extensions define this */
.voltage = {0},
- /* Everything below will be set by the probing function. */
- .write = NULL,
- .total_size = 0,
- .page_size = 0,
- .feature_bits = 0,
- .block_erasers = {},
},
{