aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/smu.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-01-12 23:10:22 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-01-13 23:35:56 +0000
commit43529966a071754a19d531ea7c2ce18af20de873 (patch)
treeccf27fd0cb1e96b80263378e595ff086673aebf5 /src/soc/amd/picasso/smu.c
parent4a973324da513a54c8e7fbeb5d1b8dd2ea27b927 (diff)
soc/amd/picasso: use common SMU S3/4/5 entry message code
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Iedd99cfb64809c4e111e0931c2260981f465035b Reviewed-on: https://review.coreboot.org/c/coreboot/+/71876 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/picasso/smu.c')
-rw-r--r--src/soc/amd/picasso/smu.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/soc/amd/picasso/smu.c b/src/soc/amd/picasso/smu.c
deleted file mode 100644
index 076baaaded..0000000000
--- a/src/soc/amd/picasso/smu.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <amdblocks/smu.h>
-#include <console/console.h>
-#include <soc/smu.h>
-
-/*
- * Request the SMU to put system into S3, S4, or S5. On entry, SlpTyp determines S-State and
- * SlpTypeEn gets set by the SMU. Function does not return if successful.
- */
-void smu_sx_entry(void)
-{
- struct smu_payload msg = { 0 }; /* Unused for SMC_MSG_S3ENTRY */
-
- printk(BIOS_DEBUG, "SMU: Put system into S3/S4/S5\n");
- send_smu_message(SMC_MSG_S3ENTRY, &msg);
-}