diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-08-02 19:56:53 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-08-07 16:32:39 +0000 |
commit | c12392b316cfc3213a61b900bc7d4064e5ee09d7 (patch) | |
tree | 4771b235c759e57f0d0f0ee156eef28caad6e35c /src/soc/intel/xeon_sp/smihandler.c | |
parent | 159430aa290dddce499c2f8dcbc863b11b6a56f4 (diff) |
soc/amd/common/psp_smi_flash: validate target SPI region ID
Add and use functions to validate the target non-volatile storage ID in
the different command buffer structs.
This patch is a slightly reworked 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: Idda0166c862d41d380b2ed21345eead5e0a1c135
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83758
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/xeon_sp/smihandler.c')
0 files changed, 0 insertions, 0 deletions