summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-02-09 02:07:17 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-02-10 14:45:21 +0000
commit35b3cc9b6d550184f32e903a43e102c81a883f3d (patch)
treed15a633539ff7182ca3bc2e38030c8a25a8c156d
parent656484285782a0d48e2f38cdae7255fe3121cce8 (diff)
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 <felix-coreboot@felixheld.de> Change-Id: If7e5f6320631cca86813e98f82b8c0c21bf18af1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50414 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/soc/amd/common/block/psp/psp.c2
1 files changed, 1 insertions, 1 deletions
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");
}