aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/psp/psp_def.h
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2020-04-14 02:07:19 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-04-15 12:23:19 +0000
commit1ad73926f2e0c1b0e9d6cdc2064d4555dda1c330 (patch)
tree7384478e28195dc05d6a6ae8a088fcebd8896421 /src/soc/amd/common/block/psp/psp_def.h
parent609b7fb3034e4cb3d5e75e00b8f6021a0e5c6691 (diff)
soc/amd/common/block/psp: move psp_load_named_blob to psp_gen1.c
This function is only needed and valid for the 1st generation PSP interface used on stoneyridge. BUG=b:153677737 Change-Id: Ia1be09c32271fe9480a0acbe324c4a45d8620882 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40360 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/amd/common/block/psp/psp_def.h')
-rw-r--r--src/soc/amd/common/block/psp/psp_def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/psp/psp_def.h b/src/soc/amd/common/block/psp/psp_def.h
index 37755166f0..f3ac5c2181 100644
--- a/src/soc/amd/common/block/psp/psp_def.h
+++ b/src/soc/amd/common/block/psp/psp_def.h
@@ -89,6 +89,8 @@ struct mbox_cmd_sx_info_buffer {
#define PSP_INIT_TIMEOUT 10000 /* 10 seconds */
#define PSP_CMD_TIMEOUT 1000 /* 1 second */
+void psp_print_cmd_status(int cmd_status, struct mbox_default_buffer *buffer);
+
/* This command needs to be implemented by the generation specific code. */
int send_psp_command(u32 command, void *buffer);