summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/psp_verstage/psp_verstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso/psp_verstage/psp_verstage.c')
-rw-r--r--src/soc/amd/picasso/psp_verstage/psp_verstage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/psp_verstage/psp_verstage.c b/src/soc/amd/picasso/psp_verstage/psp_verstage.c
index d071aa6624..c2178a347e 100644
--- a/src/soc/amd/picasso/psp_verstage/psp_verstage.c
+++ b/src/soc/amd/picasso/psp_verstage/psp_verstage.c
@@ -196,6 +196,8 @@ static uint32_t save_buffers(struct vb2_context **ctx)
buffer_info.workbuf_offset = (uint32_t)((uintptr_t)_fmap_cache -
(uintptr_t)_vboot2_work);
+ memcpy(_transfer_buffer, &buffer_info, sizeof(buffer_info));
+
retval = svc_save_uapp_data(UAPP_COPYBUF_CHROME_WORKBUF, (void *)_transfer_buffer,
buffer_size);
if (retval) {