summaryrefslogtreecommitdiff
path: root/src/vboot/vboot_handoff.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2017-03-16 19:32:48 -0700
committerJulius Werner <jwerner@chromium.org>2017-03-28 22:14:43 +0200
commitfa8fa7dd540db7c6f363f75c12b2063c3cdc3908 (patch)
tree0a24818a502d543cdcfa3b1ab3b7062eb935fadc /src/vboot/vboot_handoff.c
parent94d9411415e624f70ba8451886e5b96a1f56b159 (diff)
vboot: Remove VBOOT_DYNAMIC_WORK_BUFFER Kconfig option
VBOOT_DYNAMIC_WORK_BUFFER and VBOOT_STARTS_IN_ROMSTAGE are equivalent in practice. We can't have a dynamic work buffer unless we start in/after romstage, and there'd be no reason to go with a static buffer if we do. Let's get rid of one extra option and merge the two. Change-Id: I3f953c8d2a8dcb3f65b07f548184d6dd0eb688fe Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/18979 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/vboot/vboot_handoff.c')
-rw-r--r--src/vboot/vboot_handoff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vboot/vboot_handoff.c b/src/vboot/vboot_handoff.c
index 2533a1d415..2bd5c093f0 100644
--- a/src/vboot/vboot_handoff.c
+++ b/src/vboot/vboot_handoff.c
@@ -175,12 +175,12 @@ void vboot_fill_handoff(void)
}
/*
- * For platforms that employ VBOOT_DYNAMIC_WORK_BUFFER, the vboot
+ * For platforms that employ VBOOT_STARTS_IN_ROMSTAGE, the vboot
* verification doesn't happen until after cbmem is brought online.
* Therefore, the vboot results would not be initialized so don't
* automatically add results when cbmem comes online.
*/
-#if !IS_ENABLED(CONFIG_VBOOT_DYNAMIC_WORK_BUFFER)
+#if !IS_ENABLED(CONFIG_VBOOT_STARTS_IN_ROMSTAGE)
static void vb2_fill_handoff_cbmem(int unused)
{
vboot_fill_handoff();