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>
This commit is contained in:
parent
56e171b15e
commit
917795eb17
|
@ -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 \
|
fixed_mem_resource_kb(dev, idx, basek, sizek, IORESOURCE_CACHEABLE \
|
||||||
| IORESOURCE_RESERVE)
|
| 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) \
|
#define bad_ram_resource_kb(dev, idx, basek, sizek) \
|
||||||
reserved_ram_resource_kb((dev), (idx), (basek), (sizek))
|
reserved_ram_resource_kb((dev), (idx), (basek), (sizek))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue