summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2022-02-25 16:24:39 -0600
committerFelix Held <felix-coreboot@felixheld.de>2022-03-03 23:33:52 +0000
commit42f214de663393fbb3fb0f284593bf42f95fe265 (patch)
tree2e81db986c26fe233ff01d67ccd9a7071a94b87c /src
parent5cd9ab64a277202e3296d5644f504c3488ebf4a9 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/zork/chromeos.fmd3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/zork/chromeos.fmd b/src/mainboard/google/zork/chromeos.fmd
index be43e8a02d..4d2eda01e6 100644
--- a/src/mainboard/google/zork/chromeos.fmd
+++ b/src/mainboard/google/zork/chromeos.fmd
@@ -18,7 +18,8 @@ FLASH@0xFF000000 16M {
}
RW_VPD(PRESERVE) 8K
RW_NVRAM(PRESERVE) 20K
- SMMSTORE(PRESERVE) 4K
+ PAD_TO_ALIGN_STORE 16K
+ SMMSTORE(PRESERVE) 64K
RW_LEGACY(CBFS)
WP_RO@8M 8M {
RO_VPD(PRESERVE) 16K