summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/common/block/psp/psp_def.h
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-11-03 19:58:29 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-11-04 19:37:42 +0000
commitd8b36d23fae042824d95d2b5e6685cc789070525 (patch)
tree764e53390b88805ebbd68d41555c60ffc622b7cf /src/soc/amd/common/block/psp/psp_def.h
parent7f44929ed91d3f3157f2d26673fadb74ae7d8ff4 (diff)
downloadcoreboot-d8b36d23fae042824d95d2b5e6685cc789070525.tar.gz
coreboot-d8b36d23fae042824d95d2b5e6685cc789070525.tar.bz2
coreboot-d8b36d23fae042824d95d2b5e6685cc789070525.zip
soc/amd/common/psp: move v1-only mailbox commands to separate section
Two of the PSP mailbox commands are only applicable to the first generation of PSP mailbox interface. Change-Id: Ice940ee780c3d96ae1d9ec7ba49ea4add00e8723 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47180 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/psp/psp_def.h b/src/soc/amd/common/block/psp/psp_def.h
index 47741fa3ef03..38d62066b2d9 100644
--- a/src/soc/amd/common/block/psp/psp_def.h
+++ b/src/soc/amd/common/block/psp/psp_def.h
@@ -18,9 +18,10 @@
#define MBOX_BIOS_CMD_CLEAR_S3_STS 0x07
#define MBOX_BIOS_CMD_S3_DATA_INFO 0x08
#define MBOX_BIOS_CMD_NOP 0x09
+#define MBOX_BIOS_CMD_ABORT 0xfe
+/* x86 to PSP commands, v1 */
#define MBOX_BIOS_CMD_SMU_FW 0x19
#define MBOX_BIOS_CMD_SMU_FW2 0x1a
-#define MBOX_BIOS_CMD_ABORT 0xfe
/* generic PSP interface status, v1 */
#define PSPV1_STATUS_INITIALIZED BIT(0)