[ChromeOS] Don't initialize VGA Option ROM in normal mode
authorStefan Reinauer <reinauer@chromium.org>
Sat, 31 Mar 2012 00:10:49 +0000 (17:10 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Mon, 2 Apr 2012 16:42:54 +0000 (18:42 +0200)
commit74a0efe09a203959d5ab4879e4c1cf139c93b410
tree89d2b8178e12d42175e358c161e7fdc3ea419c8b
parent020b22a5c4efd82937706372817fc441c5345d68
[ChromeOS] Don't initialize VGA Option ROM in normal mode

ChromeOS features two different modes: normal mode and developer mode
(aka jailbreak mode). In developer mode, we need to display a warning
screen for security reasons.

However, in normal mode we want to boot blazingly fast. Therefore we
don't run (VGA) option ROMs, unless we have to print something on the
screen before the kernel is loaded.

Change-Id: I37f63d0b082a48e037e65bde2b380f9b8743ed29
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/829
Tested-by: build bot (Jenkins)
Reviewed-by: Mathias Krause <minipli@googlemail.com>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
src/devices/pci_device.c