summaryrefslogtreecommitdiff
path: root/.gitmodules
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-10-29 20:45:44 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-11-05 15:02:59 +0000
commitf48dd169954716562bc88f9ecb25d38d63c18f8d (patch)
tree26a40277fde0016c9f08db5f2b079938b8b4efc0 /.gitmodules
parent7571044f9d5cad945310254b20d2eab4f732d605 (diff)
soc/amd/common/psp_smi_flash: refactor SPI controller busy check
Since the functions that call 'spi_controller_available' end up checking if the SPI controller is busy, refactor the function into 'spi_controller_busy' to simplify the logic on the caller's side. Also move printing of the notice that the SPI controller is busy to 'spi_controller_busy' to not have that duplicated in caller. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ibc21ab6eacf07c4adffdb4658142c2f9dfcbf2a1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84920 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions