From b8e2517055d5f8164c6a4070d1e71c789071fc10 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 24 Mar 2009 12:28:44 +0000 Subject: [PATCH] Every object file with a struct pci_driver ... __pci_driver needs to be marked as "driver" instead of "object" in order to get the init code actually executed. This patch fixes up all northbridges that did not do this before. Signed-off-by: Stefan Reinauer Acked-by: Joseph Smith git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4027 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdfam10/Config.lb | 2 +- src/northbridge/amd/amdk8/Config.lb | 2 +- src/northbridge/amd/gx1/Config.lb | 2 +- src/northbridge/amd/gx2/Config.lb | 2 +- src/northbridge/amd/lx/Config.lb | 2 +- src/northbridge/intel/i440bx/Config.lb | 2 +- src/northbridge/intel/i82810/Config.lb | 2 +- src/northbridge/intel/i82830/Config.lb | 2 +- src/northbridge/via/cn700/Config.lb | 2 +- src/northbridge/via/vt8601/Config.lb | 2 +- src/northbridge/via/vt8623/Config.lb | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/northbridge/amd/amdfam10/Config.lb b/src/northbridge/amd/amdfam10/Config.lb index 73371412d7..2ddbc6fa26 100644 --- a/src/northbridge/amd/amdfam10/Config.lb +++ b/src/northbridge/amd/amdfam10/Config.lb @@ -27,7 +27,7 @@ if CONFIG_CHIP_NAME config chip.h end -object northbridge.o +driver northbridge.o driver misc_control.o if HAVE_ACPI_TABLES diff --git a/src/northbridge/amd/amdk8/Config.lb b/src/northbridge/amd/amdk8/Config.lb index d0de06740e..99bb337963 100644 --- a/src/northbridge/amd/amdk8/Config.lb +++ b/src/northbridge/amd/amdk8/Config.lb @@ -8,7 +8,7 @@ if CONFIG_CHIP_NAME config chip.h end -object northbridge.o +driver northbridge.o driver misc_control.o makerule raminit_test diff --git a/src/northbridge/amd/gx1/Config.lb b/src/northbridge/amd/gx1/Config.lb index 4a0c2c8658..16463e0ccd 100644 --- a/src/northbridge/amd/gx1/Config.lb +++ b/src/northbridge/amd/gx1/Config.lb @@ -1,2 +1,2 @@ config chip.h -object northbridge.o +driver northbridge.o diff --git a/src/northbridge/amd/gx2/Config.lb b/src/northbridge/amd/gx2/Config.lb index ee8cd206f9..4b361f5c90 100644 --- a/src/northbridge/amd/gx2/Config.lb +++ b/src/northbridge/amd/gx2/Config.lb @@ -1,5 +1,5 @@ config chip.h -object northbridge.o +driver northbridge.o object northbridgeinit.o object chipsetinit.o object grphinit.o diff --git a/src/northbridge/amd/lx/Config.lb b/src/northbridge/amd/lx/Config.lb index dc7c15962c..9b1d4c2c71 100644 --- a/src/northbridge/amd/lx/Config.lb +++ b/src/northbridge/amd/lx/Config.lb @@ -1,4 +1,4 @@ config chip.h -object northbridge.o +driver northbridge.o object northbridgeinit.o object grphinit.o diff --git a/src/northbridge/intel/i440bx/Config.lb b/src/northbridge/intel/i440bx/Config.lb index 35d179c588..82a05ee265 100644 --- a/src/northbridge/intel/i440bx/Config.lb +++ b/src/northbridge/intel/i440bx/Config.lb @@ -19,4 +19,4 @@ ## config chip.h -object northbridge.o +driver northbridge.o diff --git a/src/northbridge/intel/i82810/Config.lb b/src/northbridge/intel/i82810/Config.lb index e7c975ffa8..e8d57b2fb8 100644 --- a/src/northbridge/intel/i82810/Config.lb +++ b/src/northbridge/intel/i82810/Config.lb @@ -19,4 +19,4 @@ ## config chip.h -object northbridge.o +driver northbridge.o diff --git a/src/northbridge/intel/i82830/Config.lb b/src/northbridge/intel/i82830/Config.lb index 460bd87ed0..d2ccd5d926 100644 --- a/src/northbridge/intel/i82830/Config.lb +++ b/src/northbridge/intel/i82830/Config.lb @@ -19,4 +19,4 @@ ## config chip.h -object northbridge.o +driver northbridge.o diff --git a/src/northbridge/via/cn700/Config.lb b/src/northbridge/via/cn700/Config.lb index aca169c868..6a0b60cfe0 100644 --- a/src/northbridge/via/cn700/Config.lb +++ b/src/northbridge/via/cn700/Config.lb @@ -20,6 +20,6 @@ config chip.h object vgabios.o -object northbridge.o +driver northbridge.o driver agp.o driver vga.o diff --git a/src/northbridge/via/vt8601/Config.lb b/src/northbridge/via/vt8601/Config.lb index 4a0c2c8658..16463e0ccd 100644 --- a/src/northbridge/via/vt8601/Config.lb +++ b/src/northbridge/via/vt8601/Config.lb @@ -1,2 +1,2 @@ config chip.h -object northbridge.o +driver northbridge.o diff --git a/src/northbridge/via/vt8623/Config.lb b/src/northbridge/via/vt8623/Config.lb index 4a0c2c8658..16463e0ccd 100644 --- a/src/northbridge/via/vt8623/Config.lb +++ b/src/northbridge/via/vt8623/Config.lb @@ -1,2 +1,2 @@ config chip.h -object northbridge.o +driver northbridge.o