diff options
Diffstat (limited to 'src/soc/amd/common/block')
-rw-r--r-- | src/soc/amd/common/block/psp/psp_gen2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/psp/psp_gen2.c b/src/soc/amd/common/block/psp/psp_gen2.c index 22e19fa4ef..ddd9a648ab 100644 --- a/src/soc/amd/common/block/psp/psp_gen2.c +++ b/src/soc/amd/common/block/psp/psp_gen2.c @@ -137,7 +137,7 @@ enum cb_err soc_read_c2p38(uint32_t *msg_38_value) printk(BIOS_WARNING, "PSP: PSP_ADDR_MSR uninitialized\n"); return CB_ERR; } - *msg_38_value = read32((void *)psp_mmio + CORE_2_PSP_MSG_38_OFFSET); + *msg_38_value = read32p(psp_mmio + CORE_2_PSP_MSG_38_OFFSET); return CB_SUCCESS; } |