soc/amd/common/psp_verstage: Save transfer buffer during S0i3 resume
We need to save the transfer buffer so we can transfer the cbmem console and timestamps into x86 DRAM. BUG=b:221231786 TEST=Boot guybrush and verify S0i3 resume works. Also dumped the transfer buffer from the OS and verified the console contents got transferred. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I1d3b34c90e0e18609b0c6a0cdedab35aeefbd84b Reviewed-on: https://review.coreboot.org/c/coreboot/+/62347 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
parent
89d6764fd5
commit
409e5cb0f6
|
@ -252,6 +252,11 @@ void Main(void)
|
|||
if (bootmode == PSP_BOOT_MODE_S0i3_RESUME) {
|
||||
psp_verstage_s0i3_resume();
|
||||
|
||||
post_code(POSTCODE_SAVE_BUFFERS);
|
||||
retval = save_buffers();
|
||||
if (retval)
|
||||
post_code(retval);
|
||||
|
||||
post_code(POSTCODE_UNMAP_FCH_DEVICES);
|
||||
unmap_fch_devices();
|
||||
|
||||
|
|
Loading…
Reference in New Issue