diff options
Diffstat (limited to 'src/soc/intel/elkhartlake')
-rw-r--r-- | src/soc/intel/elkhartlake/pmc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/elkhartlake/pmc.c b/src/soc/intel/elkhartlake/pmc.c index 27d00d7ffd..e3e4ec0517 100644 --- a/src/soc/intel/elkhartlake/pmc.c +++ b/src/soc/intel/elkhartlake/pmc.c @@ -71,8 +71,7 @@ static void soc_pmc_read_resources(struct device *dev) { struct resource *res; - mmio_resource_kb(dev, PWRMBASE, PCH_PWRM_BASE_ADDRESS / KiB, - PCH_PWRM_BASE_SIZE / KiB); + mmio_range(dev, PWRMBASE, PCH_PWRM_BASE_ADDRESS, PCH_PWRM_BASE_SIZE); res = new_resource(dev, 1); res->base = (resource_t)ACPI_BASE_ADDRESS; |