ChromeOS: Remove oprom_is_loaded
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Thu, 28 Nov 2013 14:44:51 +0000 (16:44 +0200)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Thu, 1 May 2014 13:39:26 +0000 (15:39 +0200)
commitab56b3b11c34b5315fadc2147f5d1a860dccc419
tree9ef7fe2cb506240b40f9da73392c0fe8b3c93bd9
parent926a8d1262c09fda9868f73cf0241140ccf09ec9
ChromeOS: Remove oprom_is_loaded

A global flag oprom_is_loaded was used to indicate to
U-boot that VGA option ROM was loaded and run, or that
native VGA init was completed on GMA device.

Implement this feature without dependency to CHROMEOS option
and replace use of global variable oprom_is_loaded with call
to gfx_get_init_done().

Change-Id: I7e1afd752f18e5346dabdee62e4f7ea08ada5faf
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/4309
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
26 files changed:
src/device/pci_device.c
src/include/bootmode.h
src/lib/bootmode.c
src/mainboard/google/bolt/chromeos.c
src/mainboard/google/butterfly/chromeos.c
src/mainboard/google/falco/chromeos.c
src/mainboard/google/link/chromeos.c
src/mainboard/google/link/i915.c
src/mainboard/google/parrot/chromeos.c
src/mainboard/google/peppy/chromeos.c
src/mainboard/google/rambi/chromeos.c
src/mainboard/google/slippy/chromeos.c
src/mainboard/google/slippy/gma.c
src/mainboard/google/stout/chromeos.c
src/mainboard/google/stout/i915.c
src/mainboard/intel/baskingridge/chromeos.c
src/mainboard/intel/emeraldlake2/chromeos.c
src/mainboard/intel/wtm2/chromeos.c
src/mainboard/intel/wtm2/i915.c
src/mainboard/lenovo/x60/i915.c
src/mainboard/samsung/lumpy/chromeos.c
src/mainboard/samsung/stumpy/chromeos.c
src/northbridge/intel/haswell/gma.c
src/northbridge/intel/i945/gma.c
src/northbridge/intel/sandybridge/gma.c
src/vendorcode/google/chromeos/chromeos.h