diff options
author | Joel Kitching <kitching@google.com> | 2018-08-23 15:39:26 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-09-06 10:27:53 +0000 |
commit | adfaea5400248a5f729cf29d5bbdaa6d199f1c23 (patch) | |
tree | e29eca58e5abdad56647c602cf7774cf0f16b23c /src/vendorcode/google | |
parent | 6fbd87439119d3c1d99adfbcf0265f2f9c53723e (diff) |
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>
Reviewed-on: https://review.coreboot.org/28407
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/vendorcode/google')
-rw-r--r-- | src/vendorcode/google/chromeos/gnvs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vendorcode/google/chromeos/gnvs.c b/src/vendorcode/google/chromeos/gnvs.c index f21eb0963c..86ba4f3353 100644 --- a/src/vendorcode/google/chromeos/gnvs.c +++ b/src/vendorcode/google/chromeos/gnvs.c @@ -37,12 +37,6 @@ void chromeos_init_chromeos_acpi(chromeos_acpi_t *init) /* 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); } |