device: Conditionally bypass oprom execution
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Sat, 21 Dec 2013 22:22:49 +0000 (00:22 +0200)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Thu, 1 May 2014 13:39:52 +0000 (15:39 +0200)
commit9ab1c106c3ec88adfefc0dfe237e538e33f2750d
tree12ba4ce022449170b33bee71f02f3ff95dff11f7
parentab56b3b11c34b5315fadc2147f5d1a860dccc419
device: Conditionally bypass oprom execution

Builds with CHROMEOS can bypass VGA oprom when boot is not in
developer or recovery modes. Have the same functionality available
without CHROMEOS but with BOOTMODE_STRAPS.

Change-Id: I97644364305dc05aad78a744599476ccc58db163
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5595
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@google.com>
src/device/pci_device.c