diff options
author | Josie Nordrum <JosieNordrum@google.com> | 2020-09-09 12:57:13 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2020-09-14 16:01:42 +0000 |
commit | c3cc1584088ad68eb9765b2252087c3b27b167cf (patch) | |
tree | cfa317bfcee1166cb7315da3e89a97170f667400 /src/lib/imd_cbmem.c | |
parent | 7ad46df850516217a4c63e73c2d42f44819c2833 (diff) |
lib/fmap: add ENV_SMM check to setup_preram_cache
Add check in setup_preram_cache to return if ENV_SMM is true.
This avoids false warning that post-RAM FMAP is accessed too early
caused by ENV_ROMSTAGE_OR_BEFORE evaluation in SMI handler.
BUG=b:167321319
BRANCH=None
TEST=None
Signed-off-by: Josie Nordrum <josienordrum@google.com>
Change-Id: I3a4c199c42ee556187d6c4277e8793a36e4d493b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45274
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/lib/imd_cbmem.c')
0 files changed, 0 insertions, 0 deletions