summaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/pmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/jasperlake/pmc.c')
-rw-r--r--src/soc/intel/jasperlake/pmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/jasperlake/pmc.c b/src/soc/intel/jasperlake/pmc.c
index 5ad692b73f..b6a17f3db8 100644
--- a/src/soc/intel/jasperlake/pmc.c
+++ b/src/soc/intel/jasperlake/pmc.c
@@ -71,7 +71,7 @@ static void soc_pmc_read_resources(struct device *dev)
{
struct resource *res;
- mmio_resource(dev, 0, PCH_PWRM_BASE_ADDRESS / KiB, PCH_PWRM_BASE_SIZE / KiB);
+ mmio_resource_kb(dev, 0, PCH_PWRM_BASE_ADDRESS / KiB, PCH_PWRM_BASE_SIZE / KiB);
res = new_resource(dev, 1);
res->base = (resource_t)ACPI_BASE_ADDRESS;