From 0c8e54100b4089e5b09da0aafed3f7cc624f7928 Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Mon, 27 Nov 2023 15:05:29 -0800 Subject: [PATCH] arch/x86/car.ld: Use VB2_FIRMWARE_WORKBUF_RECOMMENDED_SIZE constant Use the `VB2_FIRMWARE_WORKBUF_RECOMMENDED_SIZE' constant defined by the vboot project instead of hard-coding the buffer size. Change-Id: I6039fc7cf2439535ca88663806bdcf99ad5089b0 Signed-off-by: Jeremy Compostella Reviewed-on: https://review.coreboot.org/c/coreboot/+/79288 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/arch/x86/car.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/car.ld b/src/arch/x86/car.ld index eb75981bc1..17e6eea06d 100644 --- a/src/arch/x86/car.ld +++ b/src/arch/x86/car.ld @@ -17,7 +17,7 @@ #if CONFIG(VBOOT_STARTS_IN_BOOTBLOCK) /* Vboot work buffer only needs to be available when verified boot * starts in bootblock. */ - VBOOT2_WORK(., 12K) + VBOOT2_WORK(., VB2_FIRMWARE_WORKBUF_RECOMMENDED_SIZE) #endif #if CONFIG(TPM_MEASURED_BOOT) /* Vboot measured boot TPM log measurements.