diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-02-11 05:02:27 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-02-12 15:29:35 +0000 |
commit | d51fd30eef9375c3becaca1d6c69e0508b84b446 (patch) | |
tree | 4ab6d6a4c45e479fcc10b945be179c8a017f2ed8 /src/soc/amd/cezanne/smihandler.c | |
parent | 7cd81b91ac65aab702e8f21dd106fb816d62bed8 (diff) |
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 <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50537
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/cezanne/smihandler.c')
-rw-r--r-- | src/soc/amd/cezanne/smihandler.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <acpi/acpi.h> #include <amdblocks/acpi.h> #include <amdblocks/acpimmio.h> +#include <amdblocks/psp.h> #include <amdblocks/smi.h> #include <amdblocks/smm.h> #include <arch/hlt.h> @@ -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); |