Attention is currently required from: Arthur Heymans, Patrick Rudolph. Hello build bot (Jenkins), Patrick Rudolph, Arthur Heymans,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/63004
to look at the new patch set (#2).
Change subject: Move common EFI and FSP definitions to commonlib ......................................................................
Move common EFI and FSP definitions to commonlib
The original implementation of fsp_component_relocate() was very lazy in that it indiscriminately pulled in all EFI headers. Because that is used in commonlib code, it essentially created an EFI decendency on both the firmware components, as well as the userspace components of the codebase.
Resolve this by pulling in the needed definitions into commonlib, and passing them through the semantic patches from FSP 2.0 to remove the deep dependency on EFI definitions. It turns out that very little code is needed to make things function.
Change-Id: Ia2e4051cf31789a48e63b9cee6cdf2b67a6e475f Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/commonlib/fsp_relocate.c A src/commonlib/include/commonlib/fsp_info_header.h A src/commonlib/include/commonlib/uefi_types.h M util/cbfstool/Makefile.inc 4 files changed, 188 insertions(+), 46 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/63004/2