From 9aae28b548b52c8d897da0a1d52aa20bafef7784 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 19 Mar 2021 23:42:37 +0100 Subject: soc/amd/common/block/psp/psp: update psp_status_nobase error message When the soc_get_mbox_address functions returns 0 after not being able to find an initialized PSP base address MSR or in case of Stoneyridge the PSP's BAR3, the code will print an error string. This string needs to reference both PSP_ADDR_MSR and PSP BAR3 and not only the latter one, since in Picasso and Cezanne only the former one is present. Signed-off-by: Felix Held Change-Id: I32a1e87e2a7d89c7b53f47c987e7bf0556154cf7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51668 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/soc/amd/common/block/psp/psp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/amd/common/block') diff --git a/src/soc/amd/common/block/psp/psp.c b/src/soc/amd/common/block/psp/psp.c index 45d64d885e..b95545923f 100644 --- a/src/soc/amd/common/block/psp/psp.c +++ b/src/soc/amd/common/block/psp/psp.c @@ -7,7 +7,7 @@ #include #include "psp_def.h" -static const char *psp_status_nobase = "error: PSP BAR3 not assigned"; +static const char *psp_status_nobase = "error: PSP_ADDR_MSR and PSP BAR3 not assigned"; static const char *psp_status_halted = "error: PSP in halted state"; static const char *psp_status_recovery = "error: PSP recovery required"; static const char *psp_status_errcmd = "error sending command"; -- cgit v1.2.3