diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2012-08-01 08:05:22 +0300 |
---|---|---|
committer | Anton Kochkov <anton.kochkov@gmail.com> | 2012-08-02 13:11:23 +0200 |
commit | b25374cec558cacadafb9e10d8816508c5a8ecc4 (patch) | |
tree | 68fcdff9fe3dce40c972939adc78c207767117ef /src | |
parent | 6b5eb1cc2d1702ff10cd02249d3d861c094f9118 (diff) |
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.c | 3 |
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. |