From dd32a31fbafafb6fa3dd1dc342884ffe88a7aa04 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 7 Mar 2013 23:15:06 -0600 Subject: coreboot: add vboot_handoff to coreboot tables The vboot_handoff structure contians the VbInitParams as well as the shared vboot data. In order for the boot loader to find it, the structure address and size needs to be obtained from the coreboot tables. Change-Id: I6573d479009ccbf373a7325f861bebe8dc9f5cf8 Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/2857 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/include/boot/coreboot_tables.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/include/boot') diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h index 9cf90d3bc9..71ad3f0477 100644 --- a/src/include/boot/coreboot_tables.h +++ b/src/include/boot/coreboot_tables.h @@ -241,6 +241,15 @@ struct lb_vbnv { uint32_t vbnv_size; }; +#define LB_TAB_VBOOT_HANDOFF 0x0020 +struct lb_vboot_handoff { + uint32_t tag; + uint32_t size; + + void *vboot_handoff_addr; + uint32_t vboot_handoff_size; +}; + /* The following structures are for the cmos definitions table */ #define LB_TAG_CMOS_OPTION_TABLE 200 /* cmos header record */ -- cgit v1.2.3