diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2022-10-05 23:48:18 -0600 |
---|---|---|
committer | Raul Rangel <rrangel@chromium.org> | 2022-10-26 17:19:08 +0000 |
commit | 26aa7503a7cb9a5ca833f2b0774f10ec3846a6df (patch) | |
tree | d1056b18b01f59d17c2a42ad9249d068227bc1cd /src/lib/Kconfig.cbfs_verification | |
parent | 69451f17a1138af9a982180d54249026a8edb92e (diff) |
soc/amd/common/psp_verstage: Pass SRAM buffer to Crypto Engine
Crypto engine prefers the buffer from SRAM. CBFS verification may pass
the mapped address of a CBFS file from SPI flash. This causes PSP crypto
engine to return invalid address. Hence if the buffer is from SRAM, pass
it directly to crypto engine. Else copy into a temporary buffer before
passing it to crypto engine.
BUG=b:b:227809919
TEST=Build and boot to OS in skyrim with CBFS verification enabled using
both x86 verstage and PSP verstage.
Change-Id: Ie9bc9e786f302e7938969c8093d5405b5a85b711
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68184
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/lib/Kconfig.cbfs_verification')
0 files changed, 0 insertions, 0 deletions