From 3c61304a9f39fe25421d64b00e35631478d6456c Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 21 Apr 2019 23:59:47 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32383 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Patrick Georgi --- src/arch/x86/car.ld | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch/x86/car.ld') diff --git a/src/arch/x86/car.ld b/src/arch/x86/car.ld index d97df19a37..7b20a14f21 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. */ -- cgit v1.2.3