From 35b3cc9b6d550184f32e903a43e102c81a883f3d Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 9 Feb 2021 02:07:17 +0100 Subject: [PATCH] soc/amd/block/psp/psp: raise log level of PSP failure messages If the PSP didn't like a command this should be at least a warning on the console and not just a debug message. Signed-off-by: Felix Held Change-Id: If7e5f6320631cca86813e98f82b8c0c21bf18af1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50414 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson Reviewed-by: Angel Pons --- src/soc/amd/common/block/psp/psp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/amd/common/block/psp/psp.c b/src/soc/amd/common/block/psp/psp.c index 2787b73c6e..45d64d885e 100644 --- a/src/soc/amd/common/block/psp/psp.c +++ b/src/soc/amd/common/block/psp/psp.c @@ -50,7 +50,7 @@ void psp_print_cmd_status(int cmd_status, struct mbox_buffer_header *header) printk(BIOS_DEBUG, "buffer status=0x%x ", rd_resp_sts(header)); if (cmd_status) - printk(BIOS_DEBUG, "%s\n", status_to_string(cmd_status)); + printk(BIOS_WARNING, "%s\n", status_to_string(cmd_status)); else printk(BIOS_DEBUG, "OK\n"); }