From patchwork Sun Oct 25 16:45:00 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: kconfig: Allow per-board VGA BIOS file name and PCI ID defaults Date: Sun, 25 Oct 2009 16:45:00 -0000 From: Uwe Hermann X-Patchwork-Id: 486 Message-Id: <20091025164459.GT22827@greenwood> To: coreboot@coreboot.org See patch. Build- and boot-tested on VIA pc2500e, build-tested on GIGABYTE GA-M57SLI-S4 to make sure that boards which don't override these options continue to build. Uwe. Allow per-board VGA BIOS file name and PCI ID defaults. Of course, the user can still override those defaults, if needed. Signed-off-by: Uwe Hermann Index: src/Kconfig =================================================================== --- src/Kconfig (Revision 4851) +++ src/Kconfig (Arbeitskopie) @@ -360,6 +360,16 @@ endmenu +# Default VGA BIOS file name, can be overridden in src/mainboard/*/Κconfig. +config VGA_BIOS_FILE + string + default "vgabios.bin" + +# Default VGA BIOS ID, can be overridden in src/mainboard/*/Κconfig. +config VGA_BIOS_ID + string + default "1106,3230" + menu "VGA BIOS" config VGA_BIOS @@ -374,14 +384,14 @@ config FALLBACK_VGA_BIOS_FILE string "VGA BIOS path and filename" depends on VGA_BIOS - default "vgabios.bin" + default VGA_BIOS_FILE help The path and filename of the file to use as VGA BIOS. config FALLBACK_VGA_BIOS_ID string "VGA BIOS ID" depends on VGA_BIOS - default "1106,3230" + default VGA_BIOS_ID help The comma-separated PCI vendor and device ID that would associate your VGA BIOS to your video card. Index: src/mainboard/via/pc2500e/Kconfig =================================================================== --- src/mainboard/via/pc2500e/Kconfig (Revision 4851) +++ src/mainboard/via/pc2500e/Kconfig (Arbeitskopie) @@ -47,3 +47,13 @@ default 0xaa51 depends on BOARD_VIA_PC2500E +config VGA_BIOS_FILE + string + default "M14CRT.ROM" + depends on BOARD_VIA_PC2500E + +config VGA_BIOS_ID + string + default "1106,3344" + depends on BOARD_VIA_PC2500E +