add option to decide to use onboard vga or addon card.

CONFIG_CONSOLE_VGA_ONBOARD_AT_FIRST


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2308 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Yinghai Lu 2006-05-18 16:54:30 +00:00
parent bad9d105cf
commit 2b396cdcf2
2 changed files with 6 additions and 1 deletions

View File

@ -384,6 +384,11 @@ define CONFIG_CONSOLE_VGA_MULTI
export always
comment "Multi VGA console"
end
define CONFIG_CONSOLE_VGA_ONBOARD_AT_FIRST
default 0
export always
comment "Use onboard VGA instead of add on VGA card"
end
define CONFIG_CONSOLE_BTEXT
default 0
export always

View File

@ -413,7 +413,7 @@ static void allocate_vga_resource(void)
vga = vga_first;
}
#if 1
#if CONFIG_CONSOLE_VGA_ONBOARD_AT_FIRST == 1
if (vga_onboard) // will use on board vga as pri
#else
if (!vga) // will use last add on adapter as pri