summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-02-17 22:22:21 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-02-19 13:20:16 +0000
commite09294f57a03a21ff89b571b0a606c358fc97188 (patch)
treea8e9b378aec2dbd210a262169c0a138b04409c1f /src/soc/amd/common
parent285dd6ec3a8529d2b91eb657e85007be6a3397b6 (diff)
include/cpu/amd/msr: rename MSR_PSP_ADDR to PSP_ADDR_MSR
The new name is more consistent with the rest of the MSR definitions. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I5666d9837c61881639b5f292553a728e49c5ceb2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50855 Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/block/psp/psp_gen2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/psp/psp_gen2.c b/src/soc/amd/common/block/psp/psp_gen2.c
index 95adce40d2..e2f51d8206 100644
--- a/src/soc/amd/common/block/psp/psp_gen2.c
+++ b/src/soc/amd/common/block/psp/psp_gen2.c
@@ -13,9 +13,9 @@
static uintptr_t soc_get_psp_base_address(void)
{
- uintptr_t psp_mmio = rdmsr(MSR_PSP_ADDR).lo;
+ uintptr_t psp_mmio = rdmsr(PSP_ADDR_MSR).lo;
if (!psp_mmio)
- printk(BIOS_ERR, "PSP: MSR_PSP_ADDR uninitialized\n");
+ printk(BIOS_ERR, "PSP: PSP_ADDR_MSR uninitialized\n");
return psp_mmio;
}