From b25374cec558cacadafb9e10d8816508c5a8ecc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 1 Aug 2012 08:05:22 +0300 Subject: Remove uma_memory_base from build if no GFXUMA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch validates the previous "drop uma_memory_base" patches; there are no more references to uma_memory_base when GFXUMA is not selected. Change-Id: I735b5e765b0c5cb4af1b4a7470cfe1af2bda7d38 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/1385 Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov --- src/devices/device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/devices') diff --git a/src/devices/device.c b/src/devices/device.c index 92a4447a89..6b1902d572 100644 --- a/src/devices/device.c +++ b/src/devices/device.c @@ -54,10 +54,11 @@ struct resource *free_resources = NULL; 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. -- cgit v1.2.3