diff options
author | Martin Roth <gaumless@gmail.com> | 2023-08-18 16:28:29 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-08-26 21:39:22 +0000 |
commit | 8fc68816a96c6fdfc7a35ec1c68b681b03decc06 (patch) | |
tree | 4316aa27580c58bafde7d17b5f2e60756ec2d37a /src/soc/amd/common/vboot/transfer_buffer.c | |
parent | 7687e7767f2d2321b57fa8eab68b7e954e57ad42 (diff) |
soc/amd: Move psp_transfer.h out of each SOC into common
The psp_transfer.h file was the same under all SoCs, and is really
tied to the file common/vboot/transfer.c, not the SOC.
This patch makes an include directory under vboot to put the header into
and sets it to be included for all SoCs using SOC_AMD_COMMON. This makes
the header file available to all platforms, so that new chips that don't
use the psp_verstage don't have to make a psp_transfer.h file just to
satisfy the compiler.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I5b9f2adee3a1d4d8d32813ec0a850344b7d717b2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77303
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common/vboot/transfer_buffer.c')
-rw-r--r-- | src/soc/amd/common/vboot/transfer_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/vboot/transfer_buffer.c b/src/soc/amd/common/vboot/transfer_buffer.c index e08847e8ca..a9644d3a08 100644 --- a/src/soc/amd/common/vboot/transfer_buffer.c +++ b/src/soc/amd/common/vboot/transfer_buffer.c @@ -4,9 +4,9 @@ #include <console/cbmem_console.h> #include <console/console.h> #include <pc80/mc146818rtc.h> +#include <psp_verstage/psp_transfer.h> #include <security/vboot/vbnv.h> #include <security/vboot/symbols.h> -#include <soc/psp_transfer.h> #include <timestamp.h> #include <2struct.h> |