aboutsummaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/flashrom.c b/flashrom.c
index 90e18643..8d260cb8 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -825,6 +825,7 @@ notfound:
/* Fill fallback layout covering the whole chip. */
struct single_layout *const fallback = &flash->fallback_layout;
fallback->base.entries = &fallback->entry;
+ fallback->base.capacity = 1;
fallback->base.num_entries = 1;
fallback->entry.start = 0;
fallback->entry.end = flash->chip->total_size * 1024 - 1;