diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2023-07-05 11:48:01 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-07-13 14:13:26 +0000 |
commit | d821c7267f23cc9bae20f24dbd5e61bb286d5904 (patch) | |
tree | f75c76e8d8e84097b3e20ec2dc1a565d632085d8 /src/soc/intel/baytrail/lpe.c | |
parent | a5935c6307fd65b031adf459b6be3823d8a0c298 (diff) |
soc/intel/baytrail: Use newer function for resource declarations
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I80c8a1b58e8102ed11e22b74f30750d5a6c4eae4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76283
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/baytrail/lpe.c')
-rw-r--r-- | src/soc/intel/baytrail/lpe.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/soc/intel/baytrail/lpe.c b/src/soc/intel/baytrail/lpe.c index 851f52e2a5..71a1e1f99e 100644 --- a/src/soc/intel/baytrail/lpe.c +++ b/src/soc/intel/baytrail/lpe.c @@ -147,9 +147,8 @@ static void lpe_read_resources(struct device *dev) { pci_dev_read_resources(dev); - reserved_ram_resource_kb(dev, FIRMWARE_PCI_REG_BASE, - FIRMWARE_PHYS_BASE >> 10, - FIRMWARE_PHYS_LENGTH >> 10); + reserved_ram_range(dev, FIRMWARE_PCI_REG_BASE, FIRMWARE_PHYS_BASE, + FIRMWARE_PHYS_LENGTH); } static const struct device_operations device_ops = { |