aboutsummaryrefslogtreecommitdiffstats
path: root/src/optionroms.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-07-05 20:56:07 -0400
committerKevin O'Connor <kevin@koconnor.net>2011-07-05 20:56:07 -0400
commit422263deac25e45301bd069b1a0d680db55a31d9 (patch)
tree2824ea429620bc3c1d0c9bb3e600b04239062540 /src/optionroms.c
parent8b0c509e7cdb55b0ebd58cc105e49e75526ba620 (diff)
downloadseabios-422263deac25e45301bd069b1a0d680db55a31d9.tar.gz
Replace CONFIG_SCREEN_AND_DEBUG with "etc/screen-and-debug" file.
Diffstat (limited to 'src/optionroms.c')
-rw-r--r--src/optionroms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/optionroms.c b/src/optionroms.c
index 6c4c9ff9..3d1a1e41 100644
--- a/src/optionroms.c
+++ b/src/optionroms.c
@@ -462,6 +462,7 @@ optionrom_setup(void)
****************************************************************/
static int S3ResumeVgaInit;
+int ScreenAndDebug;
// Call into vga code to turn on console.
void
@@ -472,8 +473,10 @@ vga_setup(void)
dprintf(1, "Scan for VGA option rom\n");
+ // Load some config settings that impact VGA.
EnforceChecksum = romfile_loadint("etc/optionroms-checksum", 1);
S3ResumeVgaInit = romfile_loadint("etc/s3-resume-vga-init", 0);
+ ScreenAndDebug = romfile_loadint("etc/screen-and-debug", 1);
if (CONFIG_OPTIONROMS_DEPLOYED) {
// Option roms are already deployed on the system.