summaryrefslogtreecommitdiff
path: root/src/soc/amd/sabrina
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-01-13 18:53:16 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-27 23:27:35 +0000
commit91068c95b758034367fa8c8660c5380b60b4420f (patch)
treef7d941310c9966528217281671809c255bb3cc18 /src/soc/amd/sabrina
parentbc1febad5b6acef70f4fc98542261e95c4849354 (diff)
soc/amd/sabrina/include/smu: update mailbox SMN addresses
The SMU message response register was moved compared to Cezanne. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ie384de52b1efb1d52f9018315a4b72916a4c9cee Reviewed-on: https://review.coreboot.org/c/coreboot/+/61095 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/sabrina')
-rw-r--r--src/soc/amd/sabrina/include/soc/smu.h4
-rw-r--r--src/soc/amd/sabrina/smu.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/soc/amd/sabrina/include/soc/smu.h b/src/soc/amd/sabrina/include/soc/smu.h
index e4b8e15f5d..d4990c0c3a 100644
--- a/src/soc/amd/sabrina/include/soc/smu.h
+++ b/src/soc/amd/sabrina/include/soc/smu.h
@@ -1,13 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Check if this is still correct */
-
#ifndef AMD_SABRINA_SMU_H
#define AMD_SABRINA_SMU_H
/* SMU mailbox register offsets in SMN */
#define SMN_SMU_MESG_ID 0x3b10528
-#define SMN_SMU_MESG_RESP 0x3b10564
+#define SMN_SMU_MESG_RESP 0x3b10578
#define SMN_SMU_MESG_ARGS_BASE 0x3b10998
#define SMU_NUM_ARGS 6
diff --git a/src/soc/amd/sabrina/smu.c b/src/soc/amd/sabrina/smu.c
index dd83713fbd..1496957117 100644
--- a/src/soc/amd/sabrina/smu.c
+++ b/src/soc/amd/sabrina/smu.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Check if this is still correct */
-
#include <console/console.h>
#include <amdblocks/smu.h>
#include <soc/smu.h>