From d51fd30eef9375c3becaca1d6c69e0508b84b446 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 11 Feb 2021 05:02:27 +0100 Subject: soc/amd/cezanne/smihandler: add psp_notify_smm call TEST=Majolica still gets to SeaBIOS. Like before this patch the PSP still has the recovery flag set in its return value, but we likely still have some problem in the amdfw part or miss some PSP initialization in FSP. Change-Id: I9f343452ef2ea6b01f9b2fd0cf6371218d046046 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/50537 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/soc/amd/cezanne/smihandler.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/soc') diff --git a/src/soc/amd/cezanne/smihandler.c b/src/soc/amd/cezanne/smihandler.c index 80dbb7be01..c3d2fbfc34 100644 --- a/src/soc/amd/cezanne/smihandler.c +++ b/src/soc/amd/cezanne/smihandler.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -22,6 +23,10 @@ static void fch_apmc_smi_handler(void) break; case APM_CNT_ACPI_DISABLE: acpi_disable_sci(); + break; + case APM_CNT_SMMINFO: + psp_notify_smm(); + break; } mainboard_smi_apmc(cmd); -- cgit v1.2.3