summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/psp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/stoneyridge/psp.c')
-rw-r--r--src/soc/amd/stoneyridge/psp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/psp.c b/src/soc/amd/stoneyridge/psp.c
index a7fead73dc..69db08dfc3 100644
--- a/src/soc/amd/stoneyridge/psp.c
+++ b/src/soc/amd/stoneyridge/psp.c
@@ -45,7 +45,7 @@ void *soc_get_mbox_address(void)
* the MSR instead. */
if (pci_read_config32(SOC_PSP_DEV, PSP_BAR_ENABLES) & BAR3HIDE) {
psp_mmio = rdmsr(MSR_PSP_ADDR).lo;
- if (psp_mmio == 0xffffffff) {
+ if (!psp_mmio) {
printk(BIOS_WARNING, "PSP: BAR hidden, MSR_PSP_ADDR uninitialized\n");
return 0;
}