summaryrefslogtreecommitdiff
path: root/.gitreview
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-08-05 23:15:55 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-08-07 16:32:57 +0000
commitfebf3e26dff56d0475451f9565fa5a2e64d47f5c (patch)
treecd1a63efc402ddf3d1d12d861aaeafe4a393dc2c /.gitreview
parentc12392b316cfc3213a61b900bc7d4064e5ee09d7 (diff)
soc/amd/common/psp_smi_flash: add find_psp_spi_flash_device_region
Add 'find_psp_spi_flash_device_region' to get a pointer to the spi_flash struct of the SPI flash used in the system and the region_device struct for the target FMAP region specified by the target NV ID from the PSP to x86 mailbox command. In order to have small patches, the newly added static 'find_psp_spi_flash_device_region' function is marked as inline; that inline will be removed in a following patch that calls this new function. 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: I64b8fba2392de46ecd4c786cef0d5b6acdbd865a Reviewed-on: https://review.coreboot.org/c/coreboot/+/83774 Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to '.gitreview')
0 files changed, 0 insertions, 0 deletions