diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2019-09-12 13:21:37 +0200 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2019-09-23 08:46:13 +0000 |
commit | 6d787c2590920fc5ea222d692004818bbed6b3e5 (patch) | |
tree | cf1add7b3dd4564134f122465e30432aab6eec35 /src/include/stddef.h | |
parent | afa6a2de4848ad8661b041c3b5e6de8da2ee0abc (diff) |
lib/fmap: Cache FMAP in cbmem
For platform independend exposure of FMAP through a kernel module
cache the FMAP in CBMEM. In addition add a pointer in coreboot tables
pointing to the introduced CBMEM area.
To not waste the allocated DRAM, use the cached CBMEM in RAM enabled
stages if possible.
Tested on qemu using
https://github.com/9elements/linux/commits/google_firmware_fmap2
Tested on QEMU and Supermicro X11SSH-TF.
Change-Id: I4e01c573c3edfa34dbba5fe7604d4f6e18b584d5
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35377
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/include/stddef.h')
0 files changed, 0 insertions, 0 deletions