diff options
author | Subrata Banik <subratabanik@google.com> | 2022-03-15 16:51:29 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2022-03-17 06:01:49 +0000 |
commit | 1f28c853de084c88c42058ac6939db6de659101f (patch) | |
tree | bfbc0db8eae52f29bcad856ac87c8b132f2bd402 /src/southbridge/amd/pi/hudson/lpc.c | |
parent | 242e2665d005576a081908873fa7652895e8e60d (diff) |
soc/intel/common/fast_spi: support caching `ext_bios` in ramstage
This patch provides a way to cache `ext_bios` region for all stages to
save boot time.
TEST=Able to see the ext_bios region in MTRR snapshot when cached on
the Brya variants.
Here is the timestamp snippet showing the payload load time as a
comparison between current upstream and the patched version:
upstream:
90:starting to load payload 1,072,459 (1,802)
958:calling FspNotify(ReadyToBoot) 12,818,079 (11,745,619)
with this patch:
90:starting to load payload 1,072,663 (2,627)
958:calling FspNotify(ReadyToBoot) 5,299,535 (4,226,871)
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I87139a9ed7eb9ed43164a5199aa436dd1219145c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62837
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/southbridge/amd/pi/hudson/lpc.c')
0 files changed, 0 insertions, 0 deletions