diff options
author | Jeremy Compostella <jeremy.compostella@intel.com> | 2023-11-27 15:05:29 -0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2023-12-27 04:17:55 +0000 |
commit | 0c8e54100b4089e5b09da0aafed3f7cc624f7928 (patch) | |
tree | 0112d132a0067c3abe8b34f42782628c77b043a7 /src/arch | |
parent | 1b44a05d5c84e35d91dbc16721e95be46c67ea40 (diff) |
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 <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79288
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/car.ld | 2 |
1 files changed, 1 insertions, 1 deletions
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. |