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/sandybridge | |
parent | 5f098072295c1943e389bc6af7741eb2b8397b11 (diff) |
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/sandybridge')
-rw-r--r-- | src/northbridge/intel/sandybridge/northbridge.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/northbridge/intel/sandybridge/northbridge.c b/src/northbridge/intel/sandybridge/northbridge.c index 1fd252bcc0..5f9912ff6d 100644 --- a/src/northbridge/intel/sandybridge/northbridge.c +++ b/src/northbridge/intel/sandybridge/northbridge.c @@ -39,6 +39,10 @@ static int bridge_revision_id = -1; +/* IGD UMA memory */ +static uint64_t uma_memory_base = 0; +static uint64_t uma_memory_size = 0; + int bridge_silicon_revision(void) { if (bridge_revision_id < 0) { |