From 7128063ecc8099932a4bef8d2e28101b7f652804 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 28 Sep 2020 14:34:22 -0600 Subject: [PATCH] vc/amd/fsp/picasso: Add bit definitions for PSP info in transfer block BUG=b:168895748 TEST=None BRANCH=Zork Signed-off-by: Martin Roth Change-Id: I299fdd0f007f7e4a8f597931a52f68dc98acc9ac Reviewed-on: https://review.coreboot.org/c/coreboot/+/45804 Reviewed-by: Felix Held Reviewed-by: Paul Fagerburg Tested-by: build bot (Jenkins) --- .../amd/fsp/picasso/include/bl_uapp/bl_syscall_public.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/vendorcode/amd/fsp/picasso/include/bl_uapp/bl_syscall_public.h b/src/vendorcode/amd/fsp/picasso/include/bl_uapp/bl_syscall_public.h index 69ada3490a..7cc9fd4396 100644 --- a/src/vendorcode/amd/fsp/picasso/include/bl_uapp/bl_syscall_public.h +++ b/src/vendorcode/amd/fsp/picasso/include/bl_uapp/bl_syscall_public.h @@ -54,6 +54,11 @@ #define SVC_SHA 0x46 #define SVC_RSAPKCS_VERIFY 0x47 +/* Bit definitions for the psp_info field in the PSP transfer_info_struct */ +#define PSP_INFO_PRODUCTION_MODE 0x00000001UL +#define PSP_INFO_PRODUCTION_SILICON 0x00000002UL +#define PSP_INFO_VALID 0x80000000UL + typedef struct _RSAPSS_VERIFY_PARAMS_T { char *pHash; // Message digest to verify the RSA signature