soc/amd/sabrina/cpu.c: Skip SMMINFO init in S3 resume
SMMINFO is already set up in S5, so it should be skipped in S3 resume TEST=builds Change-Id: I58e25075a007505e53962525ec4d9acd2ce6c7ae Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63088 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
parent
81ee8e2f2e
commit
135f9eb46a
|
@ -13,6 +13,7 @@
|
|||
#include <cpu/x86/mp.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <device/device.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/iomap.h>
|
||||
|
@ -39,6 +40,9 @@ static void pre_mp_init(void)
|
|||
static void post_mp_init(void)
|
||||
{
|
||||
global_smi_enable();
|
||||
|
||||
/* SMMINFO only needs to be set up when booting from S5 */
|
||||
if (!acpi_is_wakeup_s3())
|
||||
apm_control(APM_CNT_SMMINFO);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue