coreboot-kgpe-d16/src/security/vboot
Arthur Heymans 75226bb879 Makefile.inc: Generate master header and pointer as C structs
The makefiles don't like cbfs file names with spaces in them so update
the file name with '_' instead of spaces. To keep the master header at
the top of cbfs, add a placeholder.

This removes the need to handle the cbfs master header in cbfstool.
This functionality will be dropped in a later CL.

On x86 reserve some space in the linker script to add the pointer.
On non-x86 generate a pointer inside a C struct file.

As a bonus this would actually fix the master header pointer mechanism
on Intel/APL as only the bootblock inside IFWI gets memory mapped.

TESTED on thinkpad X201: SeaBIOS correctly finds the cbfs master
header.

Change-Id: I3ba01be7da1f09a8cac287751497c18cda97d293
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59132
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
2022-05-12 11:11:53 +00:00
..
antirollback.h Revert "security/vboot: Add NVRAM counter for TPM 2.0" 2021-12-16 20:58:30 +00:00
bootmode.c Reland "vboot_logic: Set VB2_CONTEXT_EC_TRUSTED in verstage_main" 2021-11-15 12:00:12 +00:00
common.c
ec_sync.c timestamps: Rename timestamps to make names more consistent 2022-03-08 16:06:33 +00:00
Kconfig cbfs: Remove deprecated APIs 2021-12-06 12:36:45 +00:00
Makefile.inc Makefile.inc: Generate master header and pointer as C structs 2022-05-12 11:11:53 +00:00
misc.h
mrc_cache_hash_tpm.c
mrc_cache_hash_tpm.h
secdata_mock.c tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
secdata_tpm.c tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
symbols.h
tpm_common.c
tpm_common.h
vbnv.c
vbnv.h
vbnv_cmos.c
vbnv_ec.c
vbnv_flash.c
vbnv_layout.h
vboot_common.c console/cbmem_console: Rename cbmem_dump_console 2022-01-13 15:25:43 +00:00
vboot_common.h
vboot_lib.c
vboot_loader.c commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
vboot_logic.c tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
verstage.c