Patrick Rudolph would like Patrick Rudolph to review this change.

View Change

layout: Increase max rom layout size

When trying to flash a single FMAP region on VBOOT enabled boards the default
of 32 entries is to small to store all regions.

Increase the maximum rom layout size to 128 to support complex FMAPs.

Change-Id: I68084b08f7b35a162b5f2d3109d82a8b63c194ff
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
---
M layout.h
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/25/34025/1
diff --git a/layout.h b/layout.h
index 5c07407..1912ce2 100644
--- a/layout.h
+++ b/layout.h
@@ -33,7 +33,7 @@
#define PRIxCHIPOFF "06"PRIx32
#define PRIuCHIPSIZE PRIu32

-#define MAX_ROMLAYOUT 32
+#define MAX_ROMLAYOUT 128

struct romentry {
chipoff_t start;

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I68084b08f7b35a162b5f2d3109d82a8b63c194ff
Gerrit-Change-Number: 34025
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-MessageType: newchange