diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-10-28 17:43:56 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-11-05 15:02:29 +0000 |
commit | 7571044f9d5cad945310254b20d2eab4f732d605 (patch) | |
tree | 9d740278bdd3f03e94d1594a7f5f9c863d3bf3b3 /src/mainboard/kontron/ktqm77 | |
parent | 5e580c79dfd43387e6d375c94c6d95c520189111 (diff) |
soc/amd/common/psp_smi_flash: factor out get_flash_device
Since the RPMC-related functions will only need the spi_flash struct,
but not the region_device struct of the store region corresponding to
the 'target_nv_id', factor out 'get_flash_device' from
'find_psp_spi_flash_device_region'.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ia99d3454df2c1c4182c193da7de1bbb4eef18313
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84905
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ana Carolina Cabral
Diffstat (limited to 'src/mainboard/kontron/ktqm77')
0 files changed, 0 insertions, 0 deletions