Joel Kitching has uploaded this change for review. ( https://review.coreboot.org/28407
Change subject: acpi/gnvs: delay setting chromeos_apci_t.vdat until depthcharge ......................................................................
acpi/gnvs: delay setting chromeos_apci_t.vdat until depthcharge
Standardize on using vboot_handoff data structure for transferring data between coreboot and depthcharge. chromeos_acpi_t.vdat is undefined until set in depthcharge.
BUG=b:112288216 TEST=compile and run on eve CQ-DEPEND=CL:1198814
Change-Id: Iccc021334d3c6f0145dffd5ca05beb9e430378a9 Signed-off-by: Joel Kitching kitching@gmail.com --- M src/vendorcode/google/chromeos/gnvs.c 1 file changed, 0 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/28407/1
diff --git a/src/vendorcode/google/chromeos/gnvs.c b/src/vendorcode/google/chromeos/gnvs.c index f21eb09..86ba4f3 100644 --- a/src/vendorcode/google/chromeos/gnvs.c +++ b/src/vendorcode/google/chromeos/gnvs.c @@ -37,12 +37,6 @@ /* Copy saved ME hash into NVS */ memcpy(chromeos_acpi->mehh, me_hash_saved, sizeof(chromeos_acpi->mehh));
- struct vboot_handoff *vboot_handoff; - - if (vboot_get_handoff_info((void **)&vboot_handoff, NULL) == 0) - memcpy(&chromeos_acpi->vdat[0], &vboot_handoff->shared_data[0], - ARRAY_SIZE(chromeos_acpi->vdat)); - chromeos_ram_oops_init(chromeos_acpi); }