Patrick Georgi merged this change.
arch/x86/car.ld: Make the vboot tpm log symbols conditional
Without VBOOT_MEASURED_BOOT there is no need for these symbols.
Change-Id: I96391b7817c79f760713c67bc469164b5514879e
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32383
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
---
M src/arch/x86/car.ld
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/arch/x86/car.ld b/src/arch/x86/car.ld
index d97df19..7b20a14 100644
--- a/src/arch/x86/car.ld
+++ b/src/arch/x86/car.ld
@@ -34,7 +34,9 @@
/* Vboot measured boot TCPA log measurements.
* Needs to be transferred until CBMEM is available
*/
+#if CONFIG(VBOOT_MEASURED_BOOT)
VBOOT2_TPM_LOG(., 2K)
+#endif
/* Stack for CAR stages. Since it persists across all stages that
* use CAR it can be reused. The chipset/SoC is expected to provide
* the stack size. */
To view, visit change 32383. To unsubscribe, or for help writing mail filters, visit settings.