util/smmstoretool: support processing ROMs
Input file is parsed for FMAP and SMMSTORE region which is used if found. Otherwise, the whole file is assumed to be the region. Passing an image with FMAP that lacks SMMSTORER is an error. Change-Id: Ieab555d7bbcfa4dadf6a5070d1297acd737440fb Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80903 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
committed by
Martin L Roth
parent
04bd965143
commit
89e056bdf1
@@ -9,6 +9,7 @@
|
||||
struct storage_t {
|
||||
bool rw;
|
||||
struct mem_range_t file;
|
||||
struct mem_range_t region;
|
||||
struct mem_range_t store_area;
|
||||
struct var_store_t vs;
|
||||
};
|
||||
|
Reference in New Issue
Block a user