summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-12-02 17:12:47 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2013-12-04 20:14:03 +0100
commite02a8330e89019bd2123e279291b7386f5e672b2 (patch)
tree1b093848242a02633f0afd5a269f876db02e9dbd
parentb67d99c01a9f57b338cd73b94c3a7c069d15e2e8 (diff)
downloadcoreboot-e02a8330e89019bd2123e279291b7386f5e672b2.tar.xz
lenovo/x60: Drop global oprom_is_loaded
Variable use is specific to ChromeOS. Change-Id: I5b61a038e6b08e3b2408c4d990749d45fdf2148d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4306 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
-rw-r--r--src/mainboard/lenovo/x60/i915.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/x60/i915.c b/src/mainboard/lenovo/x60/i915.c
index f130c5cdaa..0d3267296e 100644
--- a/src/mainboard/lenovo/x60/i915.c
+++ b/src/mainboard/lenovo/x60/i915.c
@@ -57,7 +57,6 @@ static unsigned int graphics;
static unsigned short addrport;
static unsigned short dataport;
static unsigned int physbase;
-int oprom_is_loaded;
#define PGETBL_CTL 0x2020
#define PGETBL_ENABLED 0x00000001
@@ -396,6 +395,5 @@ int i915lightup(unsigned int pphysbase, unsigned int piobase,
printk(BIOS_SPEW, "%ld microseconds\n", globalmicroseconds());
i915_init_done = 1;
- oprom_is_loaded = 1;
return 0;
}