summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-04-21 23:59:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-04-23 10:18:09 +0000
commit3c61304a9f39fe25421d64b00e35631478d6456c (patch)
tree1e028525f4d7298ccf582812553e90bf63288006 /src/arch
parent01912201a4ad176dbcf0244c96a53865ef2fcaa0 (diff)
downloadcoreboot-3c61304a9f39fe25421d64b00e35631478d6456c.tar.xz
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>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/car.ld2
1 files changed, 2 insertions, 0 deletions
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. */