summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-11-26 15:07:10 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-11-29 20:27:35 +0000
commitf3644ddae5a379bb755a65567a8bc807177d907d (patch)
tree6c7c86b099f5ceb05562421b980f96ce070caa81
parent118626589818f9a01369ccabb5eb6bbb5537472b (diff)
soc/amd/common/block/psp/psp_def: drop PSPV2_STATUS_* defines
PSPV2_STATUS_ERROR and PSPV2_STATUS_RECOVERY aren't used and the bit definitions are also wrong, so drop those defines. For the PSP mailbox interface version 2, struct pspv2_mbox is used to access the correct status bits. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I8e2aadfde00e2f7b0f99b462b8e3d6954959a584 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59699 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
-rw-r--r--src/soc/amd/common/block/psp/psp_def.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/amd/common/block/psp/psp_def.h b/src/soc/amd/common/block/psp/psp_def.h
index 38d62066b2..4d3aca59b3 100644
--- a/src/soc/amd/common/block/psp/psp_def.h
+++ b/src/soc/amd/common/block/psp/psp_def.h
@@ -30,10 +30,6 @@
#define PSPV1_STATUS_HALT BIT(3)
#define PSPV1_STATUS_RECOVERY BIT(4)
-/* generic PSP interface status, v2 */
-#define PSPV2_STATUS_ERROR BIT(30)
-#define PSPV2_STATUS_RECOVERY BIT(31)
-
/* psp_mbox consists of hardware registers beginning at PSPx000070
* mbox_command: BIOS->PSP command, cleared by PSP when complete
* mbox_status: BIOS->PSP interface status