soc/amd/common/vboot: Split transfer buffer methods into separate file
I want to reuse the transfer buffer methods in SMM, so I need to add them into their own file. I renamed `setup_cbmem_console` to `replay_transfer_buffer_cbmemc` so it has a more descriptive name. I also fixed the comment on `verify_psp_transfer_buf`. BUG=b:221231786 TEST=Boot guybrush to OS Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I4f3a8b414b91f601c3a9c3dc7af8f388286fe4da Reviewed-on: https://review.coreboot.org/c/coreboot/+/62348 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
committed by
Felix Held
parent
409e5cb0f6
commit
fe1418db3d
@@ -48,9 +48,13 @@ _Static_assert(sizeof(struct transfer_info_struct) == TRANSFER_INFO_SIZE,
|
||||
"TRANSFER_INFO_SIZE is incorrect");
|
||||
|
||||
/* Make sure the PSP transferred information over to x86 side. */
|
||||
int transfer_buffer_valid(const struct transfer_info_struct *ptr);
|
||||
/* Verify vboot work buffer is valid in transfer buffer */
|
||||
void verify_psp_transfer_buf(void);
|
||||
/* Display the transfer block's PSP_info data */
|
||||
void show_psp_transfer_info(void);
|
||||
/* Replays the pre-x86 cbmem console into the x86 cbmem console */
|
||||
void replay_transfer_buffer_cbmemc(const struct transfer_info_struct *info);
|
||||
/* Called by bootblock_c_entry in the VBOOT_STARTS_BEFORE_BOOTBLOCK case */
|
||||
void boot_with_psp_timestamp(uint64_t base_timestamp);
|
||||
|
||||
|
Reference in New Issue
Block a user