summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-06-16 17:29:52 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-07-23 12:07:07 +0000
commit452aaae601a56ad81e7ddf84cc83c8262d80ea73 (patch)
tree8c1deeba077af111005b0dcda7170225c4aa3cbb /src/lib
parent52f0e84ba7b004d6d110340d2b0b0d4b2985e073 (diff)
downloadcoreboot-452aaae601a56ad81e7ddf84cc83c8262d80ea73.tar.xz
vboot: deprecate vboot_handoff structure
vboot_handoff is no longer used in coreboot, and is not needed in CBMEM or cbtable. BUG=b:124141368, b:124192753 TEST=make clean && make runtests BRANCH=none Change-Id: I782d53f969dc9ae2775e3060371d06e7bf8e1af6 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33536 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/coreboot_table.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c
index df756983d0..95c2ae6e24 100644
--- a/src/lib/coreboot_table.c
+++ b/src/lib/coreboot_table.c
@@ -209,22 +209,6 @@ static void lb_vbnv(struct lb_header *header)
}
#endif /* CONFIG_CHROMEOS */
-static void lb_vboot_handoff(struct lb_header *header)
-{
- void *addr;
- uint32_t size;
- struct lb_range *vbho;
-
- if (vboot_get_handoff_info(&addr, &size))
- return;
-
- vbho = (struct lb_range *)lb_new_record(header);
- vbho->tag = LB_TAG_VBOOT_HANDOFF;
- vbho->size = sizeof(*vbho);
- vbho->range_start = (intptr_t)addr;
- vbho->range_size = size;
-}
-
static void lb_vboot_workbuf(struct lb_header *header)
{
struct lb_range *vbwb;
@@ -563,9 +547,6 @@ static uintptr_t write_coreboot_table(uintptr_t rom_table_end)
#endif
if (CONFIG(VBOOT)) {
- /* pass along the vboot_handoff address. */
- lb_vboot_handoff(head);
-
/* pass along the vboot workbuf address. */
lb_vboot_workbuf(head);
}