From 917795eb17d5106744e9c74c5a1888759d310399 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 7 Feb 2024 21:57:51 +0100 Subject: include/device/device: drop unused soft_reserved_ram_resource macro The unused soft_reserved_ram_resource expanded to the non-existent fixed_mem_resource function. Signed-off-by: Felix Held Change-Id: I6b454175c6530e539aa24dffb771368b0aea6da9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80409 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Matt DeVillier --- src/include/device/device.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/include') diff --git a/src/include/device/device.h b/src/include/device/device.h index 27ef82a8d7..25f730b6d5 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -383,9 +383,6 @@ static inline void fixed_mem_resource_kb(struct device *dev, unsigned long index fixed_mem_resource_kb(dev, idx, basek, sizek, IORESOURCE_CACHEABLE \ | IORESOURCE_RESERVE) -#define soft_reserved_ram_resource(dev, idx, basek, sizek) \ - fixed_mem_resource(dev, idx, basek, sizek, IORESOURCE_SOFT_RESERVE) - #define bad_ram_resource_kb(dev, idx, basek, sizek) \ reserved_ram_resource_kb((dev), (idx), (basek), (sizek)) -- cgit v1.2.3