summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-05-08 22:38:53 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-05-10 15:07:55 +0000
commitd5a0cc5a5ff9842cc411149f0b8fbdbd8e0ddd52 (patch)
tree9155ca33cfd2dcb321a4c4b419d817d54ee429e4
parent6a21959531fd9a70b3a46a13afb6d6303b282d3c (diff)
downloadcoreboot-d5a0cc5a5ff9842cc411149f0b8fbdbd8e0ddd52.tar.gz
coreboot-d5a0cc5a5ff9842cc411149f0b8fbdbd8e0ddd52.tar.bz2
coreboot-d5a0cc5a5ff9842cc411149f0b8fbdbd8e0ddd52.zip
device: Drop unused `uma_memory_{base,size}` globals
These global variables are not used anywhere. Drop them. Change-Id: I3fe60b970153d913ae7b005257e2b53647d6f343 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/53977 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/device/device.c6
-rw-r--r--src/include/device/device.h6
2 files changed, 0 insertions, 12 deletions
diff --git a/src/device/device.c b/src/device/device.c
index aa10d6f451f9..56110225fa18 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -66,12 +66,6 @@ void dev_finalize_chips(void)
DECLARE_SPIN_LOCK(dev_lock)
-#if CONFIG(GFXUMA)
-/* IGD UMA memory */
-uint64_t uma_memory_base = 0;
-uint64_t uma_memory_size = 0;
-#endif
-
/**
* Allocate a new device structure.
*
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 01e2c825a1ce..88b5310055f8 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -168,12 +168,6 @@ extern struct bus *free_links;
extern const char mainboard_name[];
-#if CONFIG(GFXUMA)
-/* IGD UMA memory */
-extern uint64_t uma_memory_base;
-extern uint64_t uma_memory_size;
-#endif
-
/* Generic device interface functions */
struct device *alloc_dev(struct bus *parent, struct device_path *path);
void dev_initialize_chips(void);