commit | d5e70b2131746a0d398dc49695f363073e9202fc | [log] [tgz] |
---|---|---|
author | Arthur Heymans <arthur@aheymans.xyz> | Wed Jul 05 11:58:20 2023 +0200 |
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | Wed Jul 12 09:30:47 2023 +0000 |
tree | ceba9ab5344118f8fc9b16c475fce7900e8f4a34 | |
parent | 899acf19bfc2533df215b73b8ae99aff8a722745 [diff] [blame] |
soc/intel/common: Use newer function for resource declarations Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: If7fe96220ce5b13f5541e25935afd0c681ff40f5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76286 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/intel/common/block/p2sb/ioe_p2sb.c b/src/soc/intel/common/block/p2sb/ioe_p2sb.c index e806417..41b815b 100644 --- a/src/soc/intel/common/block/p2sb/ioe_p2sb.c +++ b/src/soc/intel/common/block/p2sb/ioe_p2sb.c
@@ -28,7 +28,7 @@ static void read_resources(struct device *dev) { - mmio_resource_kb(dev, 0, IOE_P2SB_BAR / KiB, IOE_P2SB_SIZE / KiB); + mmio_range(dev, 0, IOE_P2SB_BAR, IOE_P2SB_SIZE); } struct device_operations device_ops = {