mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
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. Flashrom will bail out with "Cannot add fmap entries to layout - Too many entries." Increase the maximum rom layout size to 128 to support complex FMAPs. Tested on coreboot's UP/squared mainboard using SF600. With this patch it's possible to update a single FMAP region. Change-Id: I68084b08f7b35a162b5f2d3109d82a8b63c194ff Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/34025 Tested-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Christian Walter <christian.walter@9elements.com>
This commit is contained in:
parent
69146f70a6
commit
2d7ab6963c
2
layout.h
2
layout.h
@ -33,7 +33,7 @@ typedef uint32_t chipsize_t; /* Able to store the number of bytes of any support
|
|||||||
#define PRIxCHIPOFF "06"PRIx32
|
#define PRIxCHIPOFF "06"PRIx32
|
||||||
#define PRIuCHIPSIZE PRIu32
|
#define PRIuCHIPSIZE PRIu32
|
||||||
|
|
||||||
#define MAX_ROMLAYOUT 32
|
#define MAX_ROMLAYOUT 128
|
||||||
|
|
||||||
struct romentry {
|
struct romentry {
|
||||||
chipoff_t start;
|
chipoff_t start;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user