From 5f098072295c1943e389bc6af7741eb2b8397b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 18 Oct 2013 11:02:46 +0300 Subject: Add guard for UMA globals MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/5718 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/include/device/device.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/include/device/device.h b/src/include/device/device.h index 0ae4f888b367..a4ef456adde9 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); -- cgit v1.2.3