summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/psp/psp_def.h3
-rw-r--r--src/soc/amd/common/block/psp/psp_gen2.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/common/block/psp/psp_def.h b/src/soc/amd/common/block/psp/psp_def.h
index f171efe116..4d860ff276 100644
--- a/src/soc/amd/common/block/psp/psp_def.h
+++ b/src/soc/amd/common/block/psp/psp_def.h
@@ -26,9 +26,6 @@
#define MBOX_BIOS_CMD_SMU_FW 0x19
#define MBOX_BIOS_CMD_SMU_FW2 0x1a
-#define CORE_2_PSP_MSG_38_OFFSET 0x10998
-#define CORE_2_PSP_MSG_38_FUSE_SPL BIT(12)
-
/* command/response format, BIOS builds this in memory
* mbox_buffer_header: generic header
* mbox_buffer: command-specific buffer format
diff --git a/src/soc/amd/common/block/psp/psp_gen2.c b/src/soc/amd/common/block/psp/psp_gen2.c
index 12f5fec5bf..80650cb8fd 100644
--- a/src/soc/amd/common/block/psp/psp_gen2.c
+++ b/src/soc/amd/common/block/psp/psp_gen2.c
@@ -13,6 +13,9 @@
#define PSP_MAILBOX_COMMAND_OFFSET 0x10570 /* 4 bytes */
#define PSP_MAILBOX_BUFFER_OFFSET 0x10574 /* 8 bytes */
+#define CORE_2_PSP_MSG_38_OFFSET 0x10998 /* 4 byte */
+#define CORE_2_PSP_MSG_38_FUSE_SPL BIT(12)
+
union pspv2_mbox_command {
u32 val;
struct pspv2_mbox_cmd_fields {