summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-10-18 11:02:46 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-19 17:19:46 +0200
commit5f098072295c1943e389bc6af7741eb2b8397b11 (patch)
tree17bfd02146d3abf0f1f9e5d124ec8da69fdd0605
parent5930774f57bad80eb4caf4469388665749d1064c (diff)
downloadcoreboot-5f098072295c1943e389bc6af7741eb2b8397b11.tar.xz
Add guard for UMA globals
We no longer need these globally. Guard them so we get to declare static replacements at few locations until complete removal. Change-Id: Ie33e2a680fc9bbb7e28c8fbe17e5181e626736a5 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5718 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
-rw-r--r--src/include/device/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 0ae4f888b3..a4ef456add 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -131,9 +131,11 @@ 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 */
device_t alloc_dev(struct bus *parent, struct device_path *path);