mb/google/zork: fix SMMSTORE size, alignment in default FMAP

SMMSTORE needs to have 64k size (minimum) and have 64k alignment as
enforced by asserts added in commit 1ba6049
[drivers/smmstore/store.c: Add static assertion based on fmap].
Adjust size and alignment of SMMSTORE region in FMAP to ensure those conditions are met.

Test: build google/morphius without asserts being tripped for above conditions.

Change-Id: Ied04e93379e1507f5e6b2a1b71e4098a4561e5d8
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62443
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Matt DeVillier 2022-02-25 16:24:39 -06:00 committed by Felix Held
parent 5cd9ab64a2
commit 42f214de66
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ FLASH@0xFF000000 16M {
} }
RW_VPD(PRESERVE) 8K RW_VPD(PRESERVE) 8K
RW_NVRAM(PRESERVE) 20K RW_NVRAM(PRESERVE) 20K
SMMSTORE(PRESERVE) 4K PAD_TO_ALIGN_STORE 16K
SMMSTORE(PRESERVE) 64K
RW_LEGACY(CBFS) RW_LEGACY(CBFS)
WP_RO@8M 8M { WP_RO@8M 8M {
RO_VPD(PRESERVE) 16K RO_VPD(PRESERVE) 16K