summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-08-01 08:05:22 +0300
committerAnton Kochkov <anton.kochkov@gmail.com>2012-08-02 13:11:23 +0200
commitb25374cec558cacadafb9e10d8816508c5a8ecc4 (patch)
tree68fcdff9fe3dce40c972939adc78c207767117ef /src
parent6b5eb1cc2d1702ff10cd02249d3d861c094f9118 (diff)
downloadcoreboot-b25374cec558cacadafb9e10d8816508c5a8ecc4.tar.xz
Remove uma_memory_base from build if no GFXUMA
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 <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1385 Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/devices/device.c3
1 files changed, 2 insertions, 1 deletions
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.