summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-02-07 21:57:51 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-02-14 23:00:00 +0000
commit917795eb17d5106744e9c74c5a1888759d310399 (patch)
tree86823a3806755444e8819d5f308fe5ae35bee18b /src
parent56e171b15e09f9e852f6d2a5ac71e1f377c7307d (diff)
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 <felix-coreboot@felixheld.de> Change-Id: I6b454175c6530e539aa24dffb771368b0aea6da9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80409 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/device/device.h3
1 files changed, 0 insertions, 3 deletions
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))