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>
This commit is contained in:
parent
6fbd874391
commit
adfaea5400
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue