From e09294f57a03a21ff89b571b0a606c358fc97188 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 17 Feb 2021 22:22:21 +0100 Subject: 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 Change-Id: I5666d9837c61881639b5f292553a728e49c5ceb2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50855 Reviewed-by: Raul Rangel Reviewed-by: Marshall Dawson Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/amd/common/block/psp/psp_gen2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/amd/common/block') 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; } -- cgit v1.2.3