From 23f38cd05c05ed1876febfa59b652cd7171027ca Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 16 Nov 2012 14:50:32 +0100 Subject: 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 Reviewed-on: http://review.coreboot.org/1872 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/cpu/amd/agesa/family10/Makefile.inc | 2 +- src/cpu/amd/agesa/family12/Makefile.inc | 2 +- src/cpu/amd/agesa/family14/Makefile.inc | 2 +- src/cpu/amd/agesa/family15/Makefile.inc | 2 +- src/cpu/amd/agesa/family15tn/Makefile.inc | 2 +- src/cpu/amd/geode_gx1/Makefile.inc | 2 +- src/cpu/amd/geode_gx2/Makefile.inc | 2 +- src/cpu/amd/geode_lx/Makefile.inc | 2 +- src/cpu/amd/model_10xxx/Makefile.inc | 2 +- src/cpu/amd/model_fxx/Makefile.inc | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/cpu/amd') 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 -- cgit v1.2.3