Define global uma_memory variables
Use of the uma_memory_base and _size variables is very scattered.
Implementation of setup_uma_memory() will appear in each northbridge.
It should be possible to do this setup entirely in northbridge
code and get rid of the globals in a follow-up.
Change-Id: I07ccd98c55a6bcaa8294ad9704b88d7afb341456
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/1204
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
diff --git a/src/include/device/device.h b/src/include/device/device.h
index eb73c4e..819b789 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -110,6 +110,11 @@
extern struct resource *free_resources;
extern struct bus *free_links;
+/* IGD UMA memory */
+void setup_uma_memory(void);
+extern uint64_t uma_memory_base;
+extern uint64_t uma_memory_size;
+
/* Generic device interface functions */
device_t alloc_dev(struct bus *parent, struct device_path *path);
void dev_enumerate(void);