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. -- http://www.hermann-uwe.de | http://www.randomprojects.org http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
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 <[email protected]> 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 +
-- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

