diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-07-30 14:12:21 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-07-31 20:07:32 +0000 |
commit | 930d0b16cc8754f4a768bf285000a887053fc15a (patch) | |
tree | 1ec436af7c4c8a51db343deb7ba3f568aefad6b6 /src/mainboard/siemens/mc_ehl | |
parent | e6c40f62724c9d0157b5b102c01aade30bc4c47e (diff) |
soc/amd/common/psp_smm: introduce and use send_psp_command_smm
When sending mailbox commands to the PSP from SMM, the SMM flag needs to
be set right before sending the mailbox command and cleared right after
the command is sent. In order to not have this code duplicated, factor
it out into a function.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I3628463dece9d11703d5a068fe7c604108b69c1f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83700
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/siemens/mc_ehl')
0 files changed, 0 insertions, 0 deletions