soc/amd/picasso: Skip SmmInfo to PSP on S3 resume

The PSP does not accept the SmmInfo command during a resume so
remove the call.

BUG=b:163017485
TEST=Run SST on trembyle, verify error message goes away
BRANCH=Zork

Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Change-Id: Ib75a20c9594bc331aa7abf77be95196085a3dbc6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44398
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Marshall Dawson 2020-08-11 13:04:51 -06:00 committed by Felix Held
parent 188f1bd5b8
commit 5dbe45e0f5
1 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@
* Utilities for SMM setup * Utilities for SMM setup
*/ */
#include <acpi/acpi.h>
#include <arch/io.h> #include <arch/io.h>
#include <console/console.h> #include <console/console.h>
#include <cpu/x86/smm.h> #include <cpu/x86/smm.h>
@ -19,5 +20,6 @@ void global_smi_enable(void)
reg |= SMITRG0_EOS; /* Set EOS bit */ reg |= SMITRG0_EOS; /* Set EOS bit */
smi_write32(SMI_REG_SMITRIG0, reg); smi_write32(SMI_REG_SMITRIG0, reg);
outb(APM_CNT_SMMINFO, APM_CNT); if (!acpi_is_wakeup_s3())
outb(APM_CNT_SMMINFO, APM_CNT);
} }