diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-08-05 21:41:35 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-08-07 16:39:38 +0000 |
commit | 5c1a69328b443e442f0176e76f78ceca36592f78 (patch) | |
tree | 0984d4f0378ced6e3aec4e229e14cc3a964bc075 /tests/include/helpers | |
parent | 20b79eca820c9eece0b85e1ec1434b9d5b8791d2 (diff) |
soc/amd/common/psp_smi_flash: implement SPI read/write/erase command
Use coreboot's SPI flash access infrastructure to do the flash read,
write, or erase operations as requested from the PSP.
This patch is a modified version of parts of CB:65523.
Document #55758 Rev. 2.04 was used as a reference.
Test=When selecting SOC_AMD_COMMON_BLOCK_PSP_SMI, Mandolin still builds
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Signed-off-by: Ritul Guru <ritul.bits@gmail.com>
Change-Id: I4957a6d316015cc7037acf52facb6cc69188d446
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83777
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'tests/include/helpers')
0 files changed, 0 insertions, 0 deletions