Patchwork kconfig: fix via boards

login
register
about
Submitter Patrick Georgi
Date 2009-10-08 14:56:17
Message ID <1255013777.5054.15.camel@tetris>
Download mbox | patch
Permalink /patch/369/
State Accepted
Headers show

Comments

Patrick Georgi - 2009-10-08 14:56:17
Hi,

the changes to VGA_RUN_ROM and PCI_RUN_ROM broke boards using certain
via chipsets, as they use their own vgabios handling.

The real fix would be to eliminate those copies and move their via
support code (if there is any) to x86emu or so, but this is good enough
for now: x86emu is disabled, and vgabios.c (of the board or northbridge)
can take over.


Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Myles Watson - 2009-10-08 15:08:45
On Thu, Oct 8, 2009 at 8:56 AM, Patrick Georgi <patrick@georgi-clan.de> wrote:
> the changes to VGA_RUN_ROM and PCI_RUN_ROM broke boards using certain
> via chipsets, as they use their own vgabios handling.

> Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Myles Watson <mylesgw@gmail.com>

Thanks,
Myles

Patch

Index: src/southbridge/via/vt8237r/Kconfig
===================================================================
--- src/southbridge/via/vt8237r/Kconfig	(Revision 4742)
+++ src/southbridge/via/vt8237r/Kconfig	(Arbeitskopie)
@@ -21,3 +21,6 @@ 
 	bool
 	default n
 
+config EPIA_VT8237R_INIT
+	bool
+	default n
Index: src/mainboard/via/epia-m/Kconfig
===================================================================
--- src/mainboard/via/epia-m/Kconfig	(Revision 4742)
+++ src/mainboard/via/epia-m/Kconfig	(Arbeitskopie)
@@ -37,3 +37,15 @@ 
 	int
 	default 5
 	depends on BOARD_VIA_EPIA_M
+
+# this is done by this board's vgabios.c already
+config VGA_ROM_RUN
+	bool
+	default n
+	depends on BOARD_VIA_EPIA_M
+
+config PCI_ROM_RUN
+	bool
+	default n
+	depends on BOARD_VIA_EPIA_M
+
Index: src/northbridge/via/cx700/Kconfig
===================================================================
--- src/northbridge/via/cx700/Kconfig	(Revision 4742)
+++ src/northbridge/via/cx700/Kconfig	(Arbeitskopie)
@@ -1,3 +1,15 @@ 
 config NORTHBRIDGE_VIA_CX700
 	bool
 	default n
+
+# this is done by the northbridge's vgabios.c already
+config VGA_ROM_RUN
+	bool
+	default n
+	depends on NORTHBRIDGE_VIA_CX700
+
+config PCI_ROM_RUN
+	bool
+	default n
+	depends on NORTHBRIDGE_VIA_CX700
+
Index: src/northbridge/via/cn400/Kconfig
===================================================================
--- src/northbridge/via/cn400/Kconfig	(Revision 4742)
+++ src/northbridge/via/cn400/Kconfig	(Arbeitskopie)
@@ -6,3 +6,15 @@ 
 	int
 	default 0
 	depends on NORTHBRIDGE_VIA_CN400
+
+# this is done by the northbridge's vgabios.c already
+config VGA_ROM_RUN
+	bool
+	default n
+	depends on NORTHBRIDGE_VIA_CN400
+
+config PCI_ROM_RUN
+	bool
+	default n
+	depends on NORTHBRIDGE_VIA_CN400
+
Index: src/northbridge/via/vx800/Kconfig
===================================================================
--- src/northbridge/via/vx800/Kconfig	(Revision 4742)
+++ src/northbridge/via/vx800/Kconfig	(Arbeitskopie)
@@ -6,3 +6,15 @@ 
 	int
 	default 0
 	depends on NORTHBRIDGE_VIA_VX800
+
+# this is done by the northbridge's vgabios.c already
+config VGA_ROM_RUN
+	bool
+	default n
+	depends on NORTHBRIDGE_VIA_VX800
+
+config PCI_ROM_RUN
+	bool
+	default n
+	depends on NORTHBRIDGE_VIA_VX800
+
Index: src/northbridge/via/cn700/Kconfig
===================================================================
--- src/northbridge/via/cn700/Kconfig	(Revision 4742)
+++ src/northbridge/via/cn700/Kconfig	(Arbeitskopie)
@@ -7,3 +7,14 @@ 
 	int
 	default 0
 	depends on NORTHBRIDGE_VIA_CN700
+
+# this is done by the northbridge's vgabios.c already
+config VGA_ROM_RUN
+	bool
+	default n
+	depends on NORTHBRIDGE_VIA_CN700
+
+config PCI_ROM_RUN
+	bool
+	default n
+	depends on NORTHBRIDGE_VIA_CN700