[coreboot] New patch to review for coreboot: 3dc036b Remove uma_memory_base from build if no GFXUMA

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Wed Aug 1 08:32:11 CEST 2012


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1385

-gerrit

commit 3dc036bd59e0534a41d6c1f81d0c2f3a4b0ab6bf
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Wed Aug 1 08:05:22 2012 +0300

    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 at gmail.com>
---
 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 92a4447..6b1902d 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.




More information about the coreboot mailing list