soc/amd/common/psp_gen2: print error for uninitialized MSR_PSP_ADDR

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I8b6362a9eb2344293dad22357651f646774af789
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50448
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2021-02-09 20:06:59 +01:00 committed by Martin Roth
parent 583d531bd6
commit a634257f13
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ static uintptr_t soc_get_psp_base_address(void)
{
uintptr_t psp_mmio = rdmsr(MSR_PSP_ADDR).lo;
if (!psp_mmio)
printk(BIOS_WARNING, "PSP: MSR_PSP_ADDR uninitialized\n");
printk(BIOS_ERR, "PSP: MSR_PSP_ADDR uninitialized\n");
return psp_mmio;
}