diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-10-18 11:02:46 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-05-19 17:20:13 +0200 |
commit | f7bfc34942f5dda173c30f82323e13afb2045a21 (patch) | |
tree | bc8d842c28596c39b1a71bdab2618958544d7fa1 /src/northbridge/intel/sch/northbridge.c | |
parent | 5f098072295c1943e389bc6af7741eb2b8397b11 (diff) | |
download | coreboot-f7bfc34942f5dda173c30f82323e13afb2045a21.tar.xz |
intel: Remove GFXUMA and related global variables
Remove use of global variables uma_memory_base and uma_memory_size
from builds with Intel northbridges, as these variables can be kept
within the chipset or even as stack locals.
Intel platforms have no functional implemenation for option GFXUMA.
If we did implement some choice between external and integrated graphics,
it needs to be named in less obscure fashion.
Change-Id: I12f18c4ee6bc89e65a561db6c2b514956f3e2d03
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5720
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/northbridge/intel/sch/northbridge.c')
-rw-r--r-- | src/northbridge/intel/sch/northbridge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/northbridge/intel/sch/northbridge.c b/src/northbridge/intel/sch/northbridge.c index 9dc33f581d..0bbf91b140 100644 --- a/src/northbridge/intel/sch/northbridge.c +++ b/src/northbridge/intel/sch/northbridge.c @@ -99,6 +99,7 @@ static void pci_domain_set_resources(device_t dev) u8 reg8; u16 reg16; unsigned long long tomk, tolud, tomk_stolen; + uint64_t uma_memory_base = 0, uma_memory_size = 0; uint64_t tseg_memory_base = 0, tseg_memory_size = 0; /* Can we find out how much memory we can use at most this way? */ |