Allow per-northbridge and per-board VGA BIOS file name and PCI ID defaults.

Of course, the user can still override those defaults, if needed.

Add defaults for VIA pc2500e, Kontron 986LCD-M/mITX, MSI MS-6178.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4891 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/Kconfig b/src/Kconfig
index 1106d63..5fef0a9 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -420,7 +420,7 @@
 	  The path and filename of the file to use as VGA BIOS.
 
 config FALLBACK_VGA_BIOS_ID
-	string "VGA BIOS ID"
+	string "VGA device PCI IDs"
 	depends on VGA_BIOS
 	default "1106,3230"
 	help
diff --git a/src/mainboard/kontron/986lcd-m/Kconfig b/src/mainboard/kontron/986lcd-m/Kconfig
index 2af7401..65a6895 100644
--- a/src/mainboard/kontron/986lcd-m/Kconfig
+++ b/src/mainboard/kontron/986lcd-m/Kconfig
@@ -60,3 +60,9 @@
 	int
 	default 2
 	depends on BOARD_KONTRON_986LCD_M
+
+config FALLBACK_VGA_BIOS_FILE
+	string
+	default "amipci_01.20"
+	depends on BOARD_KONTRON_986LCD_M
+
diff --git a/src/mainboard/msi/ms6178/Kconfig b/src/mainboard/msi/ms6178/Kconfig
index 7da2d77..930f27f 100644
--- a/src/mainboard/msi/ms6178/Kconfig
+++ b/src/mainboard/msi/ms6178/Kconfig
@@ -49,3 +49,9 @@
 	default 4
 	depends on BOARD_MSI_MS_6178
 
+# No need to override the chipset FALLBACK_VGA_BIOS_ID.
+config FALLBACK_VGA_BIOS_FILE
+	string
+	default "i810.vga"
+	depends on BOARD_MSI_MS_6178
+
diff --git a/src/mainboard/via/pc2500e/Kconfig b/src/mainboard/via/pc2500e/Kconfig
index 4f9a2ba..9b88aad 100644
--- a/src/mainboard/via/pc2500e/Kconfig
+++ b/src/mainboard/via/pc2500e/Kconfig
@@ -42,3 +42,13 @@
 	default 0xaa51
 	depends on BOARD_VIA_PC2500E
 
+config FALLBACK_VGA_BIOS_FILE
+	string
+	default "M14CRT.ROM"
+	depends on BOARD_VIA_PC2500E
+
+config FALLBACK_VGA_BIOS_ID
+	string
+	default "1106,3344"
+	depends on BOARD_VIA_PC2500E
+
diff --git a/src/northbridge/intel/i82810/Kconfig b/src/northbridge/intel/i82810/Kconfig
index dc939b4..61495ce 100644
--- a/src/northbridge/intel/i82810/Kconfig
+++ b/src/northbridge/intel/i82810/Kconfig
@@ -43,3 +43,8 @@
 	default 1   if I810_VIDEO_MB_1MB
 	depends on NORTHBRIDGE_INTEL_I82810
 
+config FALLBACK_VGA_BIOS_ID
+	string
+	default "8086,7121"
+	depends on NORTHBRIDGE_INTEL_I82810
+
diff --git a/src/northbridge/intel/i945/Kconfig b/src/northbridge/intel/i945/Kconfig
index a735847..4f3aadd 100644
--- a/src/northbridge/intel/i945/Kconfig
+++ b/src/northbridge/intel/i945/Kconfig
@@ -20,3 +20,9 @@
 config NORTHBRIDGE_INTEL_I945
 	bool
 	select HAVE_HIGH_TABLES
+
+config FALLBACK_VGA_BIOS_ID
+	string
+	default "8086,27a2"
+	depends on NORTHBRIDGE_INTEL_I945
+