summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2012-11-16 14:50:32 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2012-11-27 22:00:49 +0100
commit23f38cd05c05ed1876febfa59b652cd7171027ca (patch)
tree1f9ff27e3b427fcca9a60699119ecdd3dbae2372 /src/cpu/amd
parent18607f717eb125f49431da3843c19fcb25f1ee81 (diff)
downloadcoreboot-23f38cd05c05ed1876febfa59b652cd7171027ca.tar.xz
Get rid of drivers class
The use of ramstage.a required the build system to handle some object files in a special way, which were put in the drivers class. These object files didn't provide any symbols that were used directly (but only via linker magic), and so the linker never considered them for inclusion. With ramstage.a gone, we can drop this special class, too. Change-Id: I6f1369e08d7d12266b506a5597c3a139c5c41a55 Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/1872 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/cpu/amd')
-rwxr-xr-xsrc/cpu/amd/agesa/family10/Makefile.inc2
-rwxr-xr-xsrc/cpu/amd/agesa/family12/Makefile.inc2
-rw-r--r--src/cpu/amd/agesa/family14/Makefile.inc2
-rw-r--r--src/cpu/amd/agesa/family15/Makefile.inc2
-rw-r--r--src/cpu/amd/agesa/family15tn/Makefile.inc2
-rw-r--r--src/cpu/amd/geode_gx1/Makefile.inc2
-rw-r--r--src/cpu/amd/geode_gx2/Makefile.inc2
-rw-r--r--src/cpu/amd/geode_lx/Makefile.inc2
-rw-r--r--src/cpu/amd/model_10xxx/Makefile.inc2
-rw-r--r--src/cpu/amd/model_fxx/Makefile.inc2
10 files changed, 10 insertions, 10 deletions
diff --git a/src/cpu/amd/agesa/family10/Makefile.inc b/src/cpu/amd/agesa/family10/Makefile.inc
index 6981a479db..068cbfe2ff 100755
--- a/src/cpu/amd/agesa/family10/Makefile.inc
+++ b/src/cpu/amd/agesa/family10/Makefile.inc
@@ -18,7 +18,7 @@
#
ramstage-y += chip_name.c
-driver-y += model_10_init.c
+ramstage-y += model_10_init.c
AGESA_ROOT = ../../../../vendorcode/amd/agesa/f10
diff --git a/src/cpu/amd/agesa/family12/Makefile.inc b/src/cpu/amd/agesa/family12/Makefile.inc
index 4c7b2fde55..10d64ddd13 100755
--- a/src/cpu/amd/agesa/family12/Makefile.inc
+++ b/src/cpu/amd/agesa/family12/Makefile.inc
@@ -28,7 +28,7 @@
#*****************************************************************************
ramstage-y += chip_name.c
-driver-y += model_12_init.c
+ramstage-y += model_12_init.c
AGESA_ROOT = ../../../../vendorcode/amd/agesa/f12
diff --git a/src/cpu/amd/agesa/family14/Makefile.inc b/src/cpu/amd/agesa/family14/Makefile.inc
index b08ceebf80..97959b3788 100644
--- a/src/cpu/amd/agesa/family14/Makefile.inc
+++ b/src/cpu/amd/agesa/family14/Makefile.inc
@@ -18,7 +18,7 @@
#
ramstage-y += chip_name.c
-driver-y += model_14_init.c
+ramstage-y += model_14_init.c
AGESA_ROOT = ../../../../vendorcode/amd/agesa/f14
diff --git a/src/cpu/amd/agesa/family15/Makefile.inc b/src/cpu/amd/agesa/family15/Makefile.inc
index 936d3c82ca..2d413ac2f1 100644
--- a/src/cpu/amd/agesa/family15/Makefile.inc
+++ b/src/cpu/amd/agesa/family15/Makefile.inc
@@ -26,5 +26,5 @@ subdirs-y += ../../../x86/pae
subdirs-y += ../../../x86/smm
ramstage-y += chip_name.c
-driver-y += model_15_init.c
+ramstage-y += model_15_init.c
diff --git a/src/cpu/amd/agesa/family15tn/Makefile.inc b/src/cpu/amd/agesa/family15tn/Makefile.inc
index b4d213ee76..5474571259 100644
--- a/src/cpu/amd/agesa/family15tn/Makefile.inc
+++ b/src/cpu/amd/agesa/family15tn/Makefile.inc
@@ -18,7 +18,7 @@
#
ramstage-y += chip_name.c
-driver-y += model_15_init.c
+ramstage-y += model_15_init.c
AGESA_ROOT = ../../../../vendorcode/amd/agesa/f15tn
diff --git a/src/cpu/amd/geode_gx1/Makefile.inc b/src/cpu/amd/geode_gx1/Makefile.inc
index d5bb1ef5ad..4b3aff1da7 100644
--- a/src/cpu/amd/geode_gx1/Makefile.inc
+++ b/src/cpu/amd/geode_gx1/Makefile.inc
@@ -22,7 +22,7 @@ subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/lapic
subdirs-y += ../../x86/cache
subdirs-y += ../../x86/smm
-driver-y += geode_gx1_init.c
+ramstage-y += geode_gx1_init.c
cpu_incs += $(src)/cpu/amd/geode_gx1/cpu_setup.inc
cpu_incs += $(src)/cpu/amd/geode_gx1/gx_setup.inc
diff --git a/src/cpu/amd/geode_gx2/Makefile.inc b/src/cpu/amd/geode_gx2/Makefile.inc
index d3777a6c1d..b3f3de993d 100644
--- a/src/cpu/amd/geode_gx2/Makefile.inc
+++ b/src/cpu/amd/geode_gx2/Makefile.inc
@@ -3,7 +3,7 @@ subdirs-y += ../../x86/lapic
subdirs-y += ../../x86/cache
subdirs-y += ../../x86/smm
-driver-y += geode_gx2_init.c
+ramstage-y += geode_gx2_init.c
ramstage-y += cpubug.c
cpu_incs += $(src)/cpu/amd/geode_gx2/cache_as_ram.inc
diff --git a/src/cpu/amd/geode_lx/Makefile.inc b/src/cpu/amd/geode_lx/Makefile.inc
index 4b2b37c436..c9df88853c 100644
--- a/src/cpu/amd/geode_lx/Makefile.inc
+++ b/src/cpu/amd/geode_lx/Makefile.inc
@@ -3,7 +3,7 @@ subdirs-y += ../../x86/lapic
subdirs-y += ../../x86/cache
subdirs-y += ../../x86/smm
-driver-y += geode_lx_init.c
+ramstage-y += geode_lx_init.c
ramstage-y += cpubug.c
cpu_incs += $(src)/cpu/amd/geode_lx/cache_as_ram.inc
diff --git a/src/cpu/amd/model_10xxx/Makefile.inc b/src/cpu/amd/model_10xxx/Makefile.inc
index 35f32c2d65..c9becbdb6e 100644
--- a/src/cpu/amd/model_10xxx/Makefile.inc
+++ b/src/cpu/amd/model_10xxx/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += model_10xxx_init.c
+ramstage-y += model_10xxx_init.c
ramstage-$(CONFIG_UPDATE_CPU_MICROCODE) += update_microcode.c
ramstage-y += apic_timer.c
ramstage-y += processor_name.c
diff --git a/src/cpu/amd/model_fxx/Makefile.inc b/src/cpu/amd/model_fxx/Makefile.inc
index 50b6f61b65..99c09c8395 100644
--- a/src/cpu/amd/model_fxx/Makefile.inc
+++ b/src/cpu/amd/model_fxx/Makefile.inc
@@ -1,5 +1,5 @@
# no conditionals here. If you include this file from a socket, then you get all the binaries.
-driver-y += model_fxx_init.c
+ramstage-y += model_fxx_init.c
ramstage-y += apic_timer.c
ramstage-y += model_fxx_update_microcode.c
ramstage-y += processor_name.c