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>
This commit is contained in:
Arthur Heymans 2019-04-21 23:59:47 +02:00 committed by Patrick Georgi
parent 01912201a4
commit 3c61304a9f
1 changed files with 2 additions and 0 deletions

View File

@ -34,7 +34,9 @@
/* Vboot measured boot TCPA log measurements. /* Vboot measured boot TCPA log measurements.
* Needs to be transferred until CBMEM is available * Needs to be transferred until CBMEM is available
*/ */
#if CONFIG(VBOOT_MEASURED_BOOT)
VBOOT2_TPM_LOG(., 2K) VBOOT2_TPM_LOG(., 2K)
#endif
/* Stack for CAR stages. Since it persists across all stages that /* Stack for CAR stages. Since it persists across all stages that
* use CAR it can be reused. The chipset/SoC is expected to provide * use CAR it can be reused. The chipset/SoC is expected to provide
* the stack size. */ * the stack size. */