diff options
author | Martin Roth <martinroth@chromium.org> | 2020-09-28 14:29:17 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-09-30 19:23:14 +0000 |
commit | 60d89e287d9d89f1e878f0522660ffcbe8446a37 (patch) | |
tree | 47dc029dcec4456e21a34ef7463f3da13b9d32ce /src | |
parent | 80535953707ba925aefc7c40318d6318178f04cf (diff) |
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 <martinroth@chromium.org>
Change-Id: Idbd1dfece59e99f6f15dfd8d002529ea6417cdbe
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45803
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/amd/picasso/include/soc/psp_transfer.h | 8 |
1 files changed, 7 insertions, 1 deletions
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, \ |