summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/elkhartlake
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/elkhartlake')
-rw-r--r--src/soc/intel/elkhartlake/acpi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/elkhartlake/acpi.c b/src/soc/intel/elkhartlake/acpi.c
index ed0421fb56be..3a00c46a0ca7 100644
--- a/src/soc/intel/elkhartlake/acpi.c
+++ b/src/soc/intel/elkhartlake/acpi.c
@@ -171,8 +171,7 @@ void soc_fill_fadt(acpi_fadt_t *fadt)
uint32_t soc_read_sci_irq_select(void)
{
- uintptr_t pmc_bar = soc_read_pmc_base();
- return read32((void *)pmc_bar + IRQ_REG);
+ return read32p(soc_read_pmc_base() + IRQ_REG);
}
static unsigned long soc_fill_dmar(unsigned long current)