From 60d89e287d9d89f1e878f0522660ffcbe8446a37 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 28 Sep 2020 14:29:17 -0600 Subject: soc/amd/picasso: Add fields for the PSP to the transfer struct The PSP will be adding information into these fields after verstage runs. This allows data to be passed directly to coreboot very early in the boot process. BUG=b:168895748 TEST=None Branch=Zork Signed-off-by: Martin Roth Change-Id: Idbd1dfece59e99f6f15dfd8d002529ea6417cdbe Reviewed-on: https://review.coreboot.org/c/coreboot/+/45803 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/picasso/include/soc/psp_transfer.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/soc/amd') diff --git a/src/soc/amd/picasso/include/soc/psp_transfer.h b/src/soc/amd/picasso/include/soc/psp_transfer.h index 0996f64d58..be88ce876d 100644 --- a/src/soc/amd/picasso/include/soc/psp_transfer.h +++ b/src/soc/amd/picasso/include/soc/psp_transfer.h @@ -30,7 +30,13 @@ struct transfer_info_struct { uint32_t console_offset; uint32_t timestamp_offset; uint32_t fmap_offset; - uint32_t unused[9]; /* Pad to 64 bytes */ + + uint32_t unused1[5]; + + /* Fields reserved for the PSP */ + uint64_t timestamp; /* Offset 0x30 */ + uint32_t psp_unused; /* Offset 0x38 */ + uint32_t psp_info; /* Offset 0x3C */ }; _Static_assert(sizeof(struct transfer_info_struct) == TRANSFER_INFO_SIZE, \ -- cgit v1.2.3