diff options
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/picasso/Kconfig | 14 | ||||
-rw-r--r-- | src/soc/amd/picasso/include/soc/psp_transfer.h | 4 |
2 files changed, 4 insertions, 14 deletions
diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig index 1918cb734f..63fa0103ac 100644 --- a/src/soc/amd/picasso/Kconfig +++ b/src/soc/amd/picasso/Kconfig @@ -109,9 +109,9 @@ config PSP_SHAREDMEM_BASE default 0x0 help This variable defines the base address in DRAM memory where PSP copies - vboot workbuf to. This is used in linker script to have a static + the vboot workbuf. This is used in the linker script to have a static allocation for the buffer as well as for adding relevant entries in - BIOS directory table for the PSP. + the BIOS directory table for the PSP. config PSP_SHAREDMEM_SIZE hex @@ -405,16 +405,6 @@ config PSP_WHITELIST_FILE depends on HAVE_PSP_WHITELIST_FILE default "3rdparty/amd_blobs/picasso/PSP/wtl-rvn.sbin" -config PSP_SHAREDMEM_SIZE - hex "Maximum size of shared memory area" - default 0x3000 if VBOOT - default 0x0 - help - Sets the maximum size for the PSP to pass the vboot workbuf and - any logs or timestamps back to coreboot. This will be copied - into main memory by the PSP and will be available when the x86 is - started. - config PSP_UNLOCK_SECURE_DEBUG bool "Unlock secure debug" default n diff --git a/src/soc/amd/picasso/include/soc/psp_transfer.h b/src/soc/amd/picasso/include/soc/psp_transfer.h index 51c9eacb57..b5dffe7b39 100644 --- a/src/soc/amd/picasso/include/soc/psp_transfer.h +++ b/src/soc/amd/picasso/include/soc/psp_transfer.h @@ -9,7 +9,7 @@ # error "Must set CONFIG_CMOS_RECOVERY_BYTE" # endif -#define CMOS_RECOVERY_MAGIC_VAL 0x96 +#define CMOS_RECOVERY_MAGIC_VAL 0x96 #define TRANSFER_INFO_SIZE 64 #define TIMESTAMP_BUFFER_SIZE 0x200 @@ -44,7 +44,7 @@ struct transfer_info_struct { uint32_t psp_info; /* Offset 0x3C */ }; -_Static_assert(sizeof(struct transfer_info_struct) == TRANSFER_INFO_SIZE, \ +_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. */ |