aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/smu.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-01-12 23:06:41 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-01-13 23:35:48 +0000
commit4a973324da513a54c8e7fbeb5d1b8dd2ea27b927 (patch)
tree30d5689800ed24e10345cd1b81569f3263463d13 /src/soc/amd/picasso/smu.c
parente18d45cdf73845a41cc7f0333fd0f5e6aa3fed1d (diff)
soc/amd: introduce common SMU S3/4/5 entry message code
The smu_sx_entry function is identical for all AMD SoCs, so introduce it as common code that can be selected to be included in the build via the SOC_AMD_COMMON_BLOCK_SMU_SX_ENTRY Kconfig option. The only SoC-specific difference in this function is the ID of the SMC_MSG_S3ENTRY message which is defined in each SoC's soc/smu.h include file. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Suggested-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I49758e9333a351d8e50e8f1b53a7f00fbe89866c Reviewed-on: https://review.coreboot.org/c/coreboot/+/71875 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/picasso/smu.c')
0 files changed, 0 insertions, 0 deletions