diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-10-17 14:33:05 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-10-18 19:56:21 +0000 |
commit | f46a9a0d3ad3157de3e354b4314fe9c5c3b69dd2 (patch) | |
tree | 44a006b52578155e632db4b7304cb61bb486e850 /src/device/pci_rom.c | |
parent | c672043766dabc2bbaebc770fb20e0f63e5eedcb (diff) | |
download | coreboot-f46a9a0d3ad3157de3e354b4314fe9c5c3b69dd2.tar.xz |
arch/x86: restore forwarding table on resume for EARLY_EBDA_INIT
In commit c06a3f72 (arch/x86: initialize EBDA in S3 and S0/S5 path)
the BDA and EBDA are wiped in the resume path. However, the coreboot
table forwarding entry wasn't taken into account so that was wiped
which resulted in cbmem not working on the resume path. Fix this
by stashing the forwarding table in cbmem and restoring it on
the resume path.
Change-Id: I142503535a78635fbb1c698fc7d032c1a2921813
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/22078
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/device/pci_rom.c')
0 files changed, 0 insertions, 0 deletions