summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/Makefile.inc6
-rw-r--r--src/console/Makefile.inc12
-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
-rw-r--r--src/cpu/intel/ep80579/Makefile.inc2
-rw-r--r--src/cpu/intel/model_1067x/Makefile.inc2
-rw-r--r--src/cpu/intel/model_106cx/Makefile.inc2
-rw-r--r--src/cpu/intel/model_206ax/Makefile.inc2
-rw-r--r--src/cpu/intel/model_65x/Makefile.inc2
-rw-r--r--src/cpu/intel/model_67x/Makefile.inc2
-rw-r--r--src/cpu/intel/model_68x/Makefile.inc2
-rw-r--r--src/cpu/intel/model_69x/Makefile.inc2
-rw-r--r--src/cpu/intel/model_6bx/Makefile.inc2
-rw-r--r--src/cpu/intel/model_6dx/Makefile.inc2
-rw-r--r--src/cpu/intel/model_6ex/Makefile.inc2
-rw-r--r--src/cpu/intel/model_6fx/Makefile.inc2
-rw-r--r--src/cpu/intel/model_6xx/Makefile.inc2
-rw-r--r--src/cpu/intel/model_f0x/Makefile.inc2
-rw-r--r--src/cpu/intel/model_f1x/Makefile.inc2
-rw-r--r--src/cpu/intel/model_f2x/Makefile.inc2
-rw-r--r--src/cpu/intel/model_f3x/Makefile.inc2
-rw-r--r--src/cpu/intel/model_f4x/Makefile.inc2
-rw-r--r--src/cpu/via/c3/Makefile.inc2
-rw-r--r--src/cpu/via/c7/Makefile.inc2
-rw-r--r--src/cpu/via/nano/Makefile.inc2
-rw-r--r--src/drivers/ati/ragexl/Makefile.inc2
-rw-r--r--src/drivers/dec/21143/Makefile.inc2
-rw-r--r--src/drivers/emulation/qemu/Makefile.inc2
-rw-r--r--src/drivers/generic/ioapic/Makefile.inc2
-rw-r--r--src/drivers/i2c/adm1026/Makefile.inc2
-rw-r--r--src/drivers/i2c/adm1027/Makefile.inc2
-rw-r--r--src/drivers/i2c/adt7463/Makefile.inc2
-rw-r--r--src/drivers/i2c/i2cmux/Makefile.inc2
-rw-r--r--src/drivers/i2c/i2cmux2/Makefile.inc2
-rw-r--r--src/drivers/i2c/lm63/Makefile.inc2
-rw-r--r--src/drivers/i2c/w83793/Makefile.inc2
-rw-r--r--src/drivers/i2c/w83795/Makefile.inc2
-rw-r--r--src/drivers/ics/954309/Makefile.inc2
-rw-r--r--src/drivers/ipmi/Makefile.inc2
-rw-r--r--src/drivers/oxford/oxpcie/Makefile.inc2
-rw-r--r--src/drivers/realtek/Makefile.inc2
-rw-r--r--src/drivers/sil/3114/Makefile.inc2
-rw-r--r--src/drivers/trident/blade3d/Makefile.inc2
-rw-r--r--src/ec/lenovo/h8/Makefile.inc2
-rw-r--r--src/ec/lenovo/pmh7/Makefile.inc2
-rw-r--r--src/ec/smsc/mec1308/Makefile.inc2
-rw-r--r--src/lib/Makefile.inc2
-rw-r--r--src/mainboard/ibase/mb899/Makefile.inc2
-rwxr-xr-xsrc/northbridge/amd/agesa/family10/Makefile.inc2
-rwxr-xr-xsrc/northbridge/amd/agesa/family12/Makefile.inc2
-rw-r--r--src/northbridge/amd/agesa/family14/Makefile.inc2
-rw-r--r--src/northbridge/amd/agesa/family15/Makefile.inc2
-rw-r--r--src/northbridge/amd/agesa/family15tn/Makefile.inc2
-rw-r--r--src/northbridge/amd/amdfam10/Makefile.inc4
-rw-r--r--src/northbridge/amd/amdk8/Makefile.inc4
-rw-r--r--src/northbridge/amd/gx1/Makefile.inc2
-rw-r--r--src/northbridge/amd/gx2/Makefile.inc2
-rw-r--r--src/northbridge/amd/lx/Makefile.inc2
-rw-r--r--src/northbridge/intel/e7520/Makefile.inc10
-rw-r--r--src/northbridge/intel/e7525/Makefile.inc10
-rw-r--r--src/northbridge/intel/i3100/Makefile.inc6
-rw-r--r--src/northbridge/intel/i440bx/Makefile.inc2
-rw-r--r--src/northbridge/intel/i440lx/Makefile.inc2
-rw-r--r--src/northbridge/intel/i5000/Makefile.inc2
-rw-r--r--src/northbridge/intel/i82810/Makefile.inc2
-rw-r--r--src/northbridge/intel/i82830/Makefile.inc4
-rw-r--r--src/northbridge/intel/i945/Makefile.inc4
-rw-r--r--src/northbridge/intel/sandybridge/Makefile.inc4
-rw-r--r--src/northbridge/intel/sch/Makefile.inc6
-rw-r--r--src/northbridge/rdc/r8610/Makefile.inc2
-rw-r--r--src/northbridge/via/cn400/Makefile.inc8
-rw-r--r--src/northbridge/via/cn700/Makefile.inc6
-rw-r--r--src/northbridge/via/cx700/Makefile.inc8
-rw-r--r--src/northbridge/via/vt8601/Makefile.inc2
-rw-r--r--src/northbridge/via/vt8623/Makefile.inc4
-rw-r--r--src/northbridge/via/vx800/Makefile.inc8
-rw-r--r--src/southbridge/amd/agesa/hudson/Makefile.inc18
-rw-r--r--src/southbridge/amd/amd8111/Makefile.inc20
-rw-r--r--src/southbridge/amd/amd8131/Makefile.inc2
-rw-r--r--src/southbridge/amd/amd8132/Makefile.inc2
-rw-r--r--src/southbridge/amd/amd8151/Makefile.inc2
-rw-r--r--src/southbridge/amd/cimx/sb700/Makefile.inc4
-rw-r--r--src/southbridge/amd/cimx/sb800/Makefile.inc4
-rwxr-xr-xsrc/southbridge/amd/cimx/sb900/Makefile.inc4
-rw-r--r--src/southbridge/amd/cs5530/Makefile.inc10
-rw-r--r--src/southbridge/amd/cs5535/Makefile.inc6
-rw-r--r--src/southbridge/amd/cs5536/Makefile.inc8
-rw-r--r--src/southbridge/amd/rs690/Makefile.inc10
-rw-r--r--src/southbridge/amd/rs780/Makefile.inc10
-rw-r--r--src/southbridge/amd/sb600/Makefile.inc18
-rw-r--r--src/southbridge/amd/sb700/Makefile.inc18
-rw-r--r--src/southbridge/amd/sb800/Makefile.inc18
-rw-r--r--src/southbridge/amd/sr5650/Makefile.inc6
-rw-r--r--src/southbridge/broadcom/bcm21000/Makefile.inc2
-rw-r--r--src/southbridge/broadcom/bcm5780/Makefile.inc6
-rw-r--r--src/southbridge/broadcom/bcm5785/Makefile.inc12
-rw-r--r--src/southbridge/intel/bd82x6x/Makefile.inc20
-rw-r--r--src/southbridge/intel/esb6300/Makefile.inc24
-rw-r--r--src/southbridge/intel/i3100/Makefile.inc16
-rw-r--r--src/southbridge/intel/i82371eb/Makefile.inc18
-rw-r--r--src/southbridge/intel/i82801ax/Makefile.inc14
-rw-r--r--src/southbridge/intel/i82801bx/Makefile.inc16
-rw-r--r--src/southbridge/intel/i82801cx/Makefile.inc14
-rw-r--r--src/southbridge/intel/i82801dx/Makefile.inc14
-rw-r--r--src/southbridge/intel/i82801ex/Makefile.inc18
-rw-r--r--src/southbridge/intel/i82801gx/Makefile.inc24
-rw-r--r--src/southbridge/intel/i82870/Makefile.inc6
-rw-r--r--src/southbridge/intel/pxhd/Makefile.inc2
-rw-r--r--src/southbridge/intel/sch/Makefile.inc20
-rw-r--r--src/southbridge/nvidia/ck804/Makefile.inc24
-rw-r--r--src/southbridge/nvidia/mcp55/Makefile.inc26
-rw-r--r--src/southbridge/rdc/r8610/Makefile.inc2
-rw-r--r--src/southbridge/ricoh/rl5c476/Makefile.inc2
-rw-r--r--src/southbridge/sis/sis966/Makefile.inc20
-rw-r--r--src/southbridge/ti/pci1x2x/Makefile.inc2
-rw-r--r--src/southbridge/ti/pci7420/Makefile.inc4
-rw-r--r--src/southbridge/ti/pcixx12/Makefile.inc2
-rw-r--r--src/southbridge/via/k8t890/Makefile.inc18
-rw-r--r--src/southbridge/via/vt8231/Makefile.inc12
-rw-r--r--src/southbridge/via/vt8235/Makefile.inc10
-rw-r--r--src/southbridge/via/vt8237r/Makefile.inc14
129 files changed, 381 insertions, 381 deletions
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index fe749594af..a7446df7c1 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -161,12 +161,12 @@ else
$(CC) -nostdlib -nostartfiles -static -o $@ -L$(obj) -T $(src)/arch/x86/coreboot_ram.ld $<
endif
-$(objgenerated)/coreboot_ram.o: $(obj)/arch/x86/lib/c_start.ramstage.o $$(driver-objs) $$(ramstage-objs) $(LIBGCC_FILE_NAME)
+$(objgenerated)/coreboot_ram.o: $(obj)/arch/x86/lib/c_start.ramstage.o $$(ramstage-objs) $(LIBGCC_FILE_NAME)
@printf " CC $(subst $(obj)/,,$(@))\n"
ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
- $(LD) -m elf_i386 -r -o $@ $(obj)/arch/x86/lib/c_start.ramstage.o $(driver-objs) --wrap __divdi3 --wrap __udivdi3 --wrap __moddi3 --wrap __umoddi3 --start-group $(filter-out $(obj)/arch/x86/lib/c_start.ramstage.o,$(ramstage-objs)) $(LIBGCC_FILE_NAME) --end-group
+ $(LD) -m elf_i386 -r -o $@ $(obj)/arch/x86/lib/c_start.ramstage.o --wrap __divdi3 --wrap __udivdi3 --wrap __moddi3 --wrap __umoddi3 --start-group $(filter-out $(obj)/arch/x86/lib/c_start.ramstage.o,$(ramstage-objs)) $(LIBGCC_FILE_NAME) --end-group
else
- $(CC) -nostdlib -r -o $@ $(obj)/arch/x86/lib/c_start.ramstage.o $(driver-objs) -Wl,--wrap,__divdi3 -Wl,--wrap,__udivdi3 -Wl,--wrap,__moddi3 -Wl,--wrap,__umoddi3 -Wl,--start-group $(filter-out $(obj)/arch/x86/lib/c_start.ramstage.o,$(ramstage-objs)) $(LIBGCC_FILE_NAME) -Wl,--end-group
+ $(CC) -nostdlib -r -o $@ $(obj)/arch/x86/lib/c_start.ramstage.o -Wl,--wrap,__divdi3 -Wl,--wrap,__udivdi3 -Wl,--wrap,__moddi3 -Wl,--wrap,__umoddi3 -Wl,--start-group $(filter-out $(obj)/arch/x86/lib/c_start.ramstage.o,$(ramstage-objs)) $(LIBGCC_FILE_NAME) -Wl,--end-group
endif
################################################################################
diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc
index f8928adca9..a712486f53 100644
--- a/src/console/Makefile.inc
+++ b/src/console/Makefile.inc
@@ -14,12 +14,12 @@ romstage-$(CONFIG_CACHE_AS_RAM) += console.c
romstage-y += post.c
romstage-y += die.c
-driver-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.c
-driver-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem_console.c
-driver-$(CONFIG_USBDEBUG) += usbdebug_console.c
-driver-$(CONFIG_CONSOLE_LOGBUF) += logbuf_console.c
-driver-$(CONFIG_CONSOLE_NE2K) += ne2k_console.c
-driver-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
+ramstage-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.c
+ramstage-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem_console.c
+ramstage-$(CONFIG_USBDEBUG) += usbdebug_console.c
+ramstage-$(CONFIG_CONSOLE_LOGBUF) += logbuf_console.c
+ramstage-$(CONFIG_CONSOLE_NE2K) += ne2k_console.c
+ramstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
$(obj)/console/console.ramstage.o : $(obj)/build.h
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
diff --git a/src/cpu/intel/ep80579/Makefile.inc b/src/cpu/intel/ep80579/Makefile.inc
index 7aaedba7e0..080e2eec9c 100644
--- a/src/cpu/intel/ep80579/Makefile.inc
+++ b/src/cpu/intel/ep80579/Makefile.inc
@@ -1,5 +1,5 @@
ramstage-y += ep80579.c
-driver-y += ep80579_init.c
+ramstage-y += ep80579_init.c
subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/mtrr
subdirs-y += ../../x86/lapic
diff --git a/src/cpu/intel/model_1067x/Makefile.inc b/src/cpu/intel/model_1067x/Makefile.inc
index b2b760641d..c0e98bc353 100644
--- a/src/cpu/intel/model_1067x/Makefile.inc
+++ b/src/cpu/intel/model_1067x/Makefile.inc
@@ -1,3 +1,3 @@
-driver-y += model_1067x_init.c
+ramstage-y += model_1067x_init.c
subdirs-y += ../../x86/name
diff --git a/src/cpu/intel/model_106cx/Makefile.inc b/src/cpu/intel/model_106cx/Makefile.inc
index 0b506b3807..1f217fe7e3 100644
--- a/src/cpu/intel/model_106cx/Makefile.inc
+++ b/src/cpu/intel/model_106cx/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += model_106cx_init.c
+ramstage-y += model_106cx_init.c
subdirs-y += ../../x86/name
cpu_incs += $(src)/cpu/intel/car/cache_as_ram_ht.inc
diff --git a/src/cpu/intel/model_206ax/Makefile.inc b/src/cpu/intel/model_206ax/Makefile.inc
index 6ab4840c48..a324b64e73 100644
--- a/src/cpu/intel/model_206ax/Makefile.inc
+++ b/src/cpu/intel/model_206ax/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += model_206ax_init.c
+ramstage-y += model_206ax_init.c
subdirs-y += ../../x86/name
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi.c
diff --git a/src/cpu/intel/model_65x/Makefile.inc b/src/cpu/intel/model_65x/Makefile.inc
index 52c8fefe65..b0b6f0f827 100644
--- a/src/cpu/intel/model_65x/Makefile.inc
+++ b/src/cpu/intel/model_65x/Makefile.inc
@@ -18,5 +18,5 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += model_65x_init.c
+ramstage-y += model_65x_init.c
diff --git a/src/cpu/intel/model_67x/Makefile.inc b/src/cpu/intel/model_67x/Makefile.inc
index 44085d901b..d7d7f31363 100644
--- a/src/cpu/intel/model_67x/Makefile.inc
+++ b/src/cpu/intel/model_67x/Makefile.inc
@@ -18,5 +18,5 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += model_67x_init.c
+ramstage-y += model_67x_init.c
diff --git a/src/cpu/intel/model_68x/Makefile.inc b/src/cpu/intel/model_68x/Makefile.inc
index 5b5f1665ce..64869dbdb6 100644
--- a/src/cpu/intel/model_68x/Makefile.inc
+++ b/src/cpu/intel/model_68x/Makefile.inc
@@ -18,6 +18,6 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += model_68x_init.c
+ramstage-y += model_68x_init.c
subdirs-y += ../../x86/name
diff --git a/src/cpu/intel/model_69x/Makefile.inc b/src/cpu/intel/model_69x/Makefile.inc
index 329bfebb6e..927bfeb06d 100644
--- a/src/cpu/intel/model_69x/Makefile.inc
+++ b/src/cpu/intel/model_69x/Makefile.inc
@@ -1 +1 @@
-driver-y += model_69x_init.c
+ramstage-y += model_69x_init.c
diff --git a/src/cpu/intel/model_6bx/Makefile.inc b/src/cpu/intel/model_6bx/Makefile.inc
index 4632815b52..2d33f85d2f 100644
--- a/src/cpu/intel/model_6bx/Makefile.inc
+++ b/src/cpu/intel/model_6bx/Makefile.inc
@@ -1,2 +1,2 @@
-driver-y += model_6bx_init.c
+ramstage-y += model_6bx_init.c
subdirs-y += ../../x86/name
diff --git a/src/cpu/intel/model_6dx/Makefile.inc b/src/cpu/intel/model_6dx/Makefile.inc
index 47525be88a..cc88a2c513 100644
--- a/src/cpu/intel/model_6dx/Makefile.inc
+++ b/src/cpu/intel/model_6dx/Makefile.inc
@@ -1 +1 @@
-driver-y += model_6dx_init.c
+ramstage-y += model_6dx_init.c
diff --git a/src/cpu/intel/model_6ex/Makefile.inc b/src/cpu/intel/model_6ex/Makefile.inc
index cc4dc7b8ee..b515c4f69a 100644
--- a/src/cpu/intel/model_6ex/Makefile.inc
+++ b/src/cpu/intel/model_6ex/Makefile.inc
@@ -1,3 +1,3 @@
-driver-y += model_6ex_init.c
+ramstage-y += model_6ex_init.c
subdirs-y += ../../x86/name
diff --git a/src/cpu/intel/model_6fx/Makefile.inc b/src/cpu/intel/model_6fx/Makefile.inc
index 3743547289..b75cde3dce 100644
--- a/src/cpu/intel/model_6fx/Makefile.inc
+++ b/src/cpu/intel/model_6fx/Makefile.inc
@@ -1,2 +1,2 @@
-driver-y += model_6fx_init.c
+ramstage-y += model_6fx_init.c
subdirs-y += ../../x86/name
diff --git a/src/cpu/intel/model_6xx/Makefile.inc b/src/cpu/intel/model_6xx/Makefile.inc
index 157ca90968..5fdd71c55b 100644
--- a/src/cpu/intel/model_6xx/Makefile.inc
+++ b/src/cpu/intel/model_6xx/Makefile.inc
@@ -1 +1 @@
-driver-y += model_6xx_init.c
+ramstage-y += model_6xx_init.c
diff --git a/src/cpu/intel/model_f0x/Makefile.inc b/src/cpu/intel/model_f0x/Makefile.inc
index 55efa1445a..79ea2a0632 100644
--- a/src/cpu/intel/model_f0x/Makefile.inc
+++ b/src/cpu/intel/model_f0x/Makefile.inc
@@ -1 +1 @@
-driver-y += model_f0x_init.c
+ramstage-y += model_f0x_init.c
diff --git a/src/cpu/intel/model_f1x/Makefile.inc b/src/cpu/intel/model_f1x/Makefile.inc
index e3a02e9abe..6449ae90ec 100644
--- a/src/cpu/intel/model_f1x/Makefile.inc
+++ b/src/cpu/intel/model_f1x/Makefile.inc
@@ -1 +1 @@
-driver-y += model_f1x_init.c
+ramstage-y += model_f1x_init.c
diff --git a/src/cpu/intel/model_f2x/Makefile.inc b/src/cpu/intel/model_f2x/Makefile.inc
index c393343ba1..9b366d6e8e 100644
--- a/src/cpu/intel/model_f2x/Makefile.inc
+++ b/src/cpu/intel/model_f2x/Makefile.inc
@@ -1 +1 @@
-driver-y += model_f2x_init.c
+ramstage-y += model_f2x_init.c
diff --git a/src/cpu/intel/model_f3x/Makefile.inc b/src/cpu/intel/model_f3x/Makefile.inc
index b2f2138738..cf8f918514 100644
--- a/src/cpu/intel/model_f3x/Makefile.inc
+++ b/src/cpu/intel/model_f3x/Makefile.inc
@@ -1 +1 @@
-driver-y += model_f3x_init.c
+ramstage-y += model_f3x_init.c
diff --git a/src/cpu/intel/model_f4x/Makefile.inc b/src/cpu/intel/model_f4x/Makefile.inc
index 0a38adf70c..ac99095b53 100644
--- a/src/cpu/intel/model_f4x/Makefile.inc
+++ b/src/cpu/intel/model_f4x/Makefile.inc
@@ -1 +1 @@
-driver-y += model_f4x_init.c
+ramstage-y += model_f4x_init.c
diff --git a/src/cpu/via/c3/Makefile.inc b/src/cpu/via/c3/Makefile.inc
index e6b889aece..d5e02a95cc 100644
--- a/src/cpu/via/c3/Makefile.inc
+++ b/src/cpu/via/c3/Makefile.inc
@@ -5,4 +5,4 @@ subdirs-y += ../../x86/cache
subdirs-y += ../../x86/smm
subdirs-y += ../../intel/microcode
-driver-y += c3_init.c
+ramstage-y += c3_init.c
diff --git a/src/cpu/via/c7/Makefile.inc b/src/cpu/via/c7/Makefile.inc
index 5300f5d224..417d762751 100644
--- a/src/cpu/via/c7/Makefile.inc
+++ b/src/cpu/via/c7/Makefile.inc
@@ -5,6 +5,6 @@ subdirs-y += ../../x86/cache
subdirs-y += ../../x86/smm
subdirs-y += ../../intel/microcode
-driver-y += c7_init.c
+ramstage-y += c7_init.c
cpu_incs += $(src)/cpu/via/car/cache_as_ram.inc
diff --git a/src/cpu/via/nano/Makefile.inc b/src/cpu/via/nano/Makefile.inc
index 6b0c1e934a..f08b482a61 100644
--- a/src/cpu/via/nano/Makefile.inc
+++ b/src/cpu/via/nano/Makefile.inc
@@ -23,7 +23,7 @@ subdirs-y += ../../x86/lapic
subdirs-y += ../../x86/cache
subdirs-y += ../../x86/smm
-driver-y += nano_init.c
+ramstage-y += nano_init.c
ramstage-y += update_ucode.c
# We need to hear from VIA to get permission to include this file in the
diff --git a/src/drivers/ati/ragexl/Makefile.inc b/src/drivers/ati/ragexl/Makefile.inc
index 8b59597975..fbec414100 100644
--- a/src/drivers/ati/ragexl/Makefile.inc
+++ b/src/drivers/ati/ragexl/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_ATI_RAGEXL) += xlinit.c
+ramstage-$(CONFIG_DRIVERS_ATI_RAGEXL) += xlinit.c
diff --git a/src/drivers/dec/21143/Makefile.inc b/src/drivers/dec/21143/Makefile.inc
index f1e24f27d6..f768918099 100644
--- a/src/drivers/dec/21143/Makefile.inc
+++ b/src/drivers/dec/21143/Makefile.inc
@@ -1,2 +1,2 @@
-driver-y += 21143.c
+ramstage-y += 21143.c
diff --git a/src/drivers/emulation/qemu/Makefile.inc b/src/drivers/emulation/qemu/Makefile.inc
index ce7b224e62..8bd3e57665 100644
--- a/src/drivers/emulation/qemu/Makefile.inc
+++ b/src/drivers/emulation/qemu/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_EMULATION_QEMU) += init.c
+ramstage-$(CONFIG_DRIVERS_EMULATION_QEMU) += init.c
diff --git a/src/drivers/generic/ioapic/Makefile.inc b/src/drivers/generic/ioapic/Makefile.inc
index 35d0934466..d34542bf29 100644
--- a/src/drivers/generic/ioapic/Makefile.inc
+++ b/src/drivers/generic/ioapic/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_GENERIC_IOAPIC) += ioapic.c
+ramstage-$(CONFIG_DRIVERS_GENERIC_IOAPIC) += ioapic.c
diff --git a/src/drivers/i2c/adm1026/Makefile.inc b/src/drivers/i2c/adm1026/Makefile.inc
index 15b07c3437..7652a75ba6 100644
--- a/src/drivers/i2c/adm1026/Makefile.inc
+++ b/src/drivers/i2c/adm1026/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_I2C_ADM1026) += adm1026.c
+ramstage-$(CONFIG_DRIVERS_I2C_ADM1026) += adm1026.c
diff --git a/src/drivers/i2c/adm1027/Makefile.inc b/src/drivers/i2c/adm1027/Makefile.inc
index 942fbd20d9..2eb1038ce0 100644
--- a/src/drivers/i2c/adm1027/Makefile.inc
+++ b/src/drivers/i2c/adm1027/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_I2C_ADM1027) += adm1027.c
+ramstage-$(CONFIG_DRIVERS_I2C_ADM1027) += adm1027.c
diff --git a/src/drivers/i2c/adt7463/Makefile.inc b/src/drivers/i2c/adt7463/Makefile.inc
index 4a6dc0dab1..d75981bc5c 100644
--- a/src/drivers/i2c/adt7463/Makefile.inc
+++ b/src/drivers/i2c/adt7463/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_I2C_ADT7463) += adt7463.c
+ramstage-$(CONFIG_DRIVERS_I2C_ADT7463) += adt7463.c
diff --git a/src/drivers/i2c/i2cmux/Makefile.inc b/src/drivers/i2c/i2cmux/Makefile.inc
index 0645b15004..64bbdce024 100644
--- a/src/drivers/i2c/i2cmux/Makefile.inc
+++ b/src/drivers/i2c/i2cmux/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_I2C_I2CMUX) += i2cmux.c
+ramstage-$(CONFIG_DRIVERS_I2C_I2CMUX) += i2cmux.c
diff --git a/src/drivers/i2c/i2cmux2/Makefile.inc b/src/drivers/i2c/i2cmux2/Makefile.inc
index df6b2d31b4..34e361367e 100644
--- a/src/drivers/i2c/i2cmux2/Makefile.inc
+++ b/src/drivers/i2c/i2cmux2/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_I2C_I2CMUX2) += i2cmux2.c
+ramstage-$(CONFIG_DRIVERS_I2C_I2CMUX2) += i2cmux2.c
diff --git a/src/drivers/i2c/lm63/Makefile.inc b/src/drivers/i2c/lm63/Makefile.inc
index 782d63d97d..bd1c7ef9ea 100644
--- a/src/drivers/i2c/lm63/Makefile.inc
+++ b/src/drivers/i2c/lm63/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_I2C_LM63) += lm63.c
+ramstage-$(CONFIG_DRIVERS_I2C_LM63) += lm63.c
diff --git a/src/drivers/i2c/w83793/Makefile.inc b/src/drivers/i2c/w83793/Makefile.inc
index c25ddd5f98..f7843a5c24 100644
--- a/src/drivers/i2c/w83793/Makefile.inc
+++ b/src/drivers/i2c/w83793/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_I2C_W83793) += w83793.c
+ramstage-$(CONFIG_DRIVERS_I2C_W83793) += w83793.c
diff --git a/src/drivers/i2c/w83795/Makefile.inc b/src/drivers/i2c/w83795/Makefile.inc
index 708a170b2e..330f6a74cf 100644
--- a/src/drivers/i2c/w83795/Makefile.inc
+++ b/src/drivers/i2c/w83795/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_I2C_W83795) += w83795.c
+ramstage-$(CONFIG_DRIVERS_I2C_W83795) += w83795.c
diff --git a/src/drivers/ics/954309/Makefile.inc b/src/drivers/ics/954309/Makefile.inc
index ede9639857..1c66a8ca9a 100644
--- a/src/drivers/ics/954309/Makefile.inc
+++ b/src/drivers/ics/954309/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_ICS_954309) += ics954309.c
+ramstage-$(CONFIG_DRIVERS_ICS_954309) += ics954309.c
diff --git a/src/drivers/ipmi/Makefile.inc b/src/drivers/ipmi/Makefile.inc
index ecee28f384..e9e7ff3bca 100644
--- a/src/drivers/ipmi/Makefile.inc
+++ b/src/drivers/ipmi/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_IPMI_KCS) += ipmi_kcs.c
+ramstage-$(CONFIG_IPMI_KCS) += ipmi_kcs.c
diff --git a/src/drivers/oxford/oxpcie/Makefile.inc b/src/drivers/oxford/oxpcie/Makefile.inc
index 7f4aa58e93..6cc29c4d13 100644
--- a/src/drivers/oxford/oxpcie/Makefile.inc
+++ b/src/drivers/oxford/oxpcie/Makefile.inc
@@ -1,4 +1,4 @@
-driver-$(CONFIG_DRIVERS_OXFORD_OXPCIE) += oxpcie.c
+ramstage-$(CONFIG_DRIVERS_OXFORD_OXPCIE) += oxpcie.c
ifeq ($(CONFIG_CONSOLE_SERIAL8250MEM),y)
romstage-$(CONFIG_DRIVERS_OXFORD_OXPCIE) += oxpcie_early.c
diff --git a/src/drivers/realtek/Makefile.inc b/src/drivers/realtek/Makefile.inc
index 910d4b4d04..c583b9eed7 100644
--- a/src/drivers/realtek/Makefile.inc
+++ b/src/drivers/realtek/Makefile.inc
@@ -17,4 +17,4 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-$(CONFIG_RTL8168_ROM_DISABLE) += rtl8168.c
+ramstage-$(CONFIG_RTL8168_ROM_DISABLE) += rtl8168.c
diff --git a/src/drivers/sil/3114/Makefile.inc b/src/drivers/sil/3114/Makefile.inc
index 77c348ffff..a3f3ffb328 100644
--- a/src/drivers/sil/3114/Makefile.inc
+++ b/src/drivers/sil/3114/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_SIL_3114) += sil_sata.c
+ramstage-$(CONFIG_DRIVERS_SIL_3114) += sil_sata.c
diff --git a/src/drivers/trident/blade3d/Makefile.inc b/src/drivers/trident/blade3d/Makefile.inc
index 390ae13704..c4a8c8c7ba 100644
--- a/src/drivers/trident/blade3d/Makefile.inc
+++ b/src/drivers/trident/blade3d/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_DRIVERS_TRIDENT_BLADE3D) += blade3d.c
+ramstage-$(CONFIG_DRIVERS_TRIDENT_BLADE3D) += blade3d.c
diff --git a/src/ec/lenovo/h8/Makefile.inc b/src/ec/lenovo/h8/Makefile.inc
index 86bc6632ae..9fef94c547 100644
--- a/src/ec/lenovo/h8/Makefile.inc
+++ b/src/ec/lenovo/h8/Makefile.inc
@@ -1 +1 @@
-driver-y += h8.c
+ramstage-y += h8.c
diff --git a/src/ec/lenovo/pmh7/Makefile.inc b/src/ec/lenovo/pmh7/Makefile.inc
index e441980def..f42e0e4cb8 100644
--- a/src/ec/lenovo/pmh7/Makefile.inc
+++ b/src/ec/lenovo/pmh7/Makefile.inc
@@ -1,3 +1,3 @@
-driver-y += pmh7.c
+ramstage-y += pmh7.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += pmh7.c
romstage-y += pmh7.c
diff --git a/src/ec/smsc/mec1308/Makefile.inc b/src/ec/smsc/mec1308/Makefile.inc
index 95c6c030d2..0accda3f55 100644
--- a/src/ec/smsc/mec1308/Makefile.inc
+++ b/src/ec/smsc/mec1308/Makefile.inc
@@ -1,2 +1,2 @@
-driver-y += ec.c
+ramstage-y += ec.c
smm-y += ec.c
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index ec57bc2d2f..5becc42ebc 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -52,7 +52,7 @@ ramstage-$(CONFIG_BOOTSPLASH) += jpeg.c
ramstage-$(CONFIG_TRACE) += trace.c
ramstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
-driver-$(CONFIG_CONSOLE_NE2K) += ne2k.c
+ramstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
ifneq ($(CONFIG_HAVE_ARCH_MEMSET),y)
smm-y += memset.c
diff --git a/src/mainboard/ibase/mb899/Makefile.inc b/src/mainboard/ibase/mb899/Makefile.inc
index c2c861d604..4fb55f5458 100644
--- a/src/mainboard/ibase/mb899/Makefile.inc
+++ b/src/mainboard/ibase/mb899/Makefile.inc
@@ -17,4 +17,4 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += mv88e8053.c
+ramstage-y += mv88e8053.c
diff --git a/src/northbridge/amd/agesa/family10/Makefile.inc b/src/northbridge/amd/agesa/family10/Makefile.inc
index 8f0fe0d773..ea1a146738 100755
--- a/src/northbridge/amd/agesa/family10/Makefile.inc
+++ b/src/northbridge/amd/agesa/family10/Makefile.inc
@@ -17,6 +17,6 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-driver-y += northbridge.c
+ramstage-y += northbridge.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt.asl
diff --git a/src/northbridge/amd/agesa/family12/Makefile.inc b/src/northbridge/amd/agesa/family12/Makefile.inc
index 8f0fe0d773..ea1a146738 100755
--- a/src/northbridge/amd/agesa/family12/Makefile.inc
+++ b/src/northbridge/amd/agesa/family12/Makefile.inc
@@ -17,6 +17,6 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-driver-y += northbridge.c
+ramstage-y += northbridge.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt.asl
diff --git a/src/northbridge/amd/agesa/family14/Makefile.inc b/src/northbridge/amd/agesa/family14/Makefile.inc
index d3a125c57a..8cdd0a0a22 100644
--- a/src/northbridge/amd/agesa/family14/Makefile.inc
+++ b/src/northbridge/amd/agesa/family14/Makefile.inc
@@ -17,4 +17,4 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-driver-y += northbridge.c
+ramstage-y += northbridge.c
diff --git a/src/northbridge/amd/agesa/family15/Makefile.inc b/src/northbridge/amd/agesa/family15/Makefile.inc
index 255fe10591..121bf229f5 100644
--- a/src/northbridge/amd/agesa/family15/Makefile.inc
+++ b/src/northbridge/amd/agesa/family15/Makefile.inc
@@ -17,4 +17,4 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-driver-y += northbridge.c
+ramstage-y += northbridge.c
diff --git a/src/northbridge/amd/agesa/family15tn/Makefile.inc b/src/northbridge/amd/agesa/family15tn/Makefile.inc
index 255fe10591..121bf229f5 100644
--- a/src/northbridge/amd/agesa/family15tn/Makefile.inc
+++ b/src/northbridge/amd/agesa/family15tn/Makefile.inc
@@ -17,4 +17,4 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-driver-y += northbridge.c
+ramstage-y += northbridge.c
diff --git a/src/northbridge/amd/amdfam10/Makefile.inc b/src/northbridge/amd/amdfam10/Makefile.inc
index 2ab9c0fb16..a24783b236 100644
--- a/src/northbridge/amd/amdfam10/Makefile.inc
+++ b/src/northbridge/amd/amdfam10/Makefile.inc
@@ -1,5 +1,5 @@
-driver-y += northbridge.c
-driver-y += misc_control.c
+ramstage-y += northbridge.c
+ramstage-y += misc_control.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt.asl
diff --git a/src/northbridge/amd/amdk8/Makefile.inc b/src/northbridge/amd/amdk8/Makefile.inc
index e35b9ed2d0..38b0201f6a 100644
--- a/src/northbridge/amd/amdk8/Makefile.inc
+++ b/src/northbridge/amd/amdk8/Makefile.inc
@@ -1,5 +1,5 @@
-driver-y += northbridge.c
-driver-y += misc_control.c
+ramstage-y += northbridge.c
+ramstage-y += misc_control.c
ramstage-y += get_sblk_pci1234.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi.c
diff --git a/src/northbridge/amd/gx1/Makefile.inc b/src/northbridge/amd/gx1/Makefile.inc
index 16d702a24e..ab619fce2c 100644
--- a/src/northbridge/amd/gx1/Makefile.inc
+++ b/src/northbridge/amd/gx1/Makefile.inc
@@ -18,5 +18,5 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += northbridge.c
+ramstage-y += northbridge.c
diff --git a/src/northbridge/amd/gx2/Makefile.inc b/src/northbridge/amd/gx2/Makefile.inc
index 482aff92aa..ad904c4387 100644
--- a/src/northbridge/amd/gx2/Makefile.inc
+++ b/src/northbridge/amd/gx2/Makefile.inc
@@ -1,3 +1,3 @@
-driver-y += northbridge.c
+ramstage-y += northbridge.c
ramstage-y += northbridgeinit.c
ramstage-y += grphinit.c
diff --git a/src/northbridge/amd/lx/Makefile.inc b/src/northbridge/amd/lx/Makefile.inc
index 482aff92aa..ad904c4387 100644
--- a/src/northbridge/amd/lx/Makefile.inc
+++ b/src/northbridge/amd/lx/Makefile.inc
@@ -1,3 +1,3 @@
-driver-y += northbridge.c
+ramstage-y += northbridge.c
ramstage-y += northbridgeinit.c
ramstage-y += grphinit.c
diff --git a/src/northbridge/intel/e7520/Makefile.inc b/src/northbridge/intel/e7520/Makefile.inc
index 32c68365e8..370477be9c 100644
--- a/src/northbridge/intel/e7520/Makefile.inc
+++ b/src/northbridge/intel/e7520/Makefile.inc
@@ -1,5 +1,5 @@
-driver-y += northbridge.c
-driver-y += pciexp_porta.c
-driver-y += pciexp_porta1.c
-driver-y += pciexp_portb.c
-driver-y += pciexp_portc.c
+ramstage-y += northbridge.c
+ramstage-y += pciexp_porta.c
+ramstage-y += pciexp_porta1.c
+ramstage-y += pciexp_portb.c
+ramstage-y += pciexp_portc.c
diff --git a/src/northbridge/intel/e7525/Makefile.inc b/src/northbridge/intel/e7525/Makefile.inc
index 32c68365e8..370477be9c 100644
--- a/src/northbridge/intel/e7525/Makefile.inc
+++ b/src/northbridge/intel/e7525/Makefile.inc
@@ -1,5 +1,5 @@
-driver-y += northbridge.c
-driver-y += pciexp_porta.c
-driver-y += pciexp_porta1.c
-driver-y += pciexp_portb.c
-driver-y += pciexp_portc.c
+ramstage-y += northbridge.c
+ramstage-y += pciexp_porta.c
+ramstage-y += pciexp_porta1.c
+ramstage-y += pciexp_portb.c
+ramstage-y += pciexp_portc.c
diff --git a/src/northbridge/intel/i3100/Makefile.inc b/src/northbridge/intel/i3100/Makefile.inc
index c2de0fcb58..3ad40f5d86 100644
--- a/src/northbridge/intel/i3100/Makefile.inc
+++ b/src/northbridge/intel/i3100/Makefile.inc
@@ -1,3 +1,3 @@
-driver-y += northbridge.c
-driver-y += pciexp_porta.c
-driver-y += pciexp_porta_ep80579.c
+ramstage-y += northbridge.c
+ramstage-y += pciexp_porta.c
+ramstage-y += pciexp_porta_ep80579.c
diff --git a/src/northbridge/intel/i440bx/Makefile.inc b/src/northbridge/intel/i440bx/Makefile.inc
index 0c0a3c846d..ef4be2e0d9 100644
--- a/src/northbridge/intel/i440bx/Makefile.inc
+++ b/src/northbridge/intel/i440bx/Makefile.inc
@@ -18,7 +18,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += northbridge.c
+ramstage-y += northbridge.c
romstage-y += raminit.c
romstage-y += debug.c
diff --git a/src/northbridge/intel/i440lx/Makefile.inc b/src/northbridge/intel/i440lx/Makefile.inc
index 16d702a24e..ab619fce2c 100644
--- a/src/northbridge/intel/i440lx/Makefile.inc
+++ b/src/northbridge/intel/i440lx/Makefile.inc
@@ -18,5 +18,5 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += northbridge.c
+ramstage-y += northbridge.c
diff --git a/src/northbridge/intel/i5000/Makefile.inc b/src/northbridge/intel/i5000/Makefile.inc
index 5e75159fca..e3ab0bbf10 100644
--- a/src/northbridge/intel/i5000/Makefile.inc
+++ b/src/northbridge/intel/i5000/Makefile.inc
@@ -17,6 +17,6 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-driver-y += northbridge.c
+ramstage-y += northbridge.c
romstage-y += raminit.c udelay.c
cpu_incs += src/northbridge/intel/i5000/halt_second_bsp.S
diff --git a/src/northbridge/intel/i82810/Makefile.inc b/src/northbridge/intel/i82810/Makefile.inc
index 0c0a3c846d..ef4be2e0d9 100644
--- a/src/northbridge/intel/i82810/Makefile.inc
+++ b/src/northbridge/intel/i82810/Makefile.inc
@@ -18,7 +18,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += northbridge.c
+ramstage-y += northbridge.c
romstage-y += raminit.c
romstage-y += debug.c
diff --git a/src/northbridge/intel/i82830/Makefile.inc b/src/northbridge/intel/i82830/Makefile.inc
index c8cf0f4215..239457048c 100644
--- a/src/northbridge/intel/i82830/Makefile.inc
+++ b/src/northbridge/intel/i82830/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += northbridge.c
-driver-y += vga.c
+ramstage-y += northbridge.c
+ramstage-y += vga.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
diff --git a/src/northbridge/intel/i945/Makefile.inc b/src/northbridge/intel/i945/Makefile.inc
index 7d7cb5dfd5..89b0308cb8 100644
--- a/src/northbridge/intel/i945/Makefile.inc
+++ b/src/northbridge/intel/i945/Makefile.inc
@@ -17,8 +17,8 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-driver-y += northbridge.c
-driver-y += gma.c
+ramstage-y += northbridge.c
+ramstage-y += gma.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi.c
romstage-y += udelay.c
diff --git a/src/northbridge/intel/sandybridge/Makefile.inc b/src/northbridge/intel/sandybridge/Makefile.inc
index 6193abe589..bef3da535d 100644
--- a/src/northbridge/intel/sandybridge/Makefile.inc
+++ b/src/northbridge/intel/sandybridge/Makefile.inc
@@ -17,8 +17,8 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-driver-y += northbridge.c
-driver-y += gma.c
+ramstage-y += northbridge.c
+ramstage-y += gma.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi.c
ramstage-y += mrccache.c
diff --git a/src/northbridge/intel/sch/Makefile.inc b/src/northbridge/intel/sch/Makefile.inc
index ecd2a270b7..2e264505eb 100644
--- a/src/northbridge/intel/sch/Makefile.inc
+++ b/src/northbridge/intel/sch/Makefile.inc
@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-driver-y += northbridge.c
-driver-y += gma.c
-driver-y += port_access.c
+ramstage-y += northbridge.c
+ramstage-y += gma.c
+ramstage-y += port_access.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi.c
diff --git a/src/northbridge/rdc/r8610/Makefile.inc b/src/northbridge/rdc/r8610/Makefile.inc
index c97696738b..2bc7c57ff9 100644
--- a/src/northbridge/rdc/r8610/Makefile.inc
+++ b/src/northbridge/rdc/r8610/Makefile.inc
@@ -18,4 +18,4 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += northbridge.c
+ramstage-y += northbridge.c
diff --git a/src/northbridge/via/cn400/Makefile.inc b/src/northbridge/via/cn400/Makefile.inc
index 64eab38739..d5d06cf944 100644
--- a/src/northbridge/via/cn400/Makefile.inc
+++ b/src/northbridge/via/cn400/Makefile.inc
@@ -18,8 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += northbridge.c
-driver-y += agp.c
-driver-y += vga.c
-driver-y += vlink.c
+ramstage-y += northbridge.c
+ramstage-y += agp.c
+ramstage-y += vga.c
+ramstage-y += vlink.c
diff --git a/src/northbridge/via/cn700/Makefile.inc b/src/northbridge/via/cn700/Makefile.inc
index 1654111d8e..3ccdd5ee8b 100644
--- a/src/northbridge/via/cn700/Makefile.inc
+++ b/src/northbridge/via/cn700/Makefile.inc
@@ -18,7 +18,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += northbridge.c
-driver-y += agp.c
-driver-y += vga.c
+ramstage-y += northbridge.c
+ramstage-y += agp.c
+ramstage-y += vga.c
diff --git a/src/northbridge/via/cx700/Makefile.inc b/src/northbridge/via/cx700/Makefile.inc
index b833013790..a4172bb6d4 100644
--- a/src/northbridge/via/cx700/Makefile.inc
+++ b/src/northbridge/via/cx700/Makefile.inc
@@ -20,7 +20,7 @@
ramstage-y += reset.c
ramstage-y += northbridge.c
-driver-y += agp.c
-driver-y += lpc.c
-driver-y += sata.c
-driver-y += vga.c
+ramstage-y += agp.c
+ramstage-y += lpc.c
+ramstage-y += sata.c
+ramstage-y += vga.c
diff --git a/src/northbridge/via/vt8601/Makefile.inc b/src/northbridge/via/vt8601/Makefile.inc
index 126fe910b4..4a1432079d 100644
--- a/src/northbridge/via/vt8601/Makefile.inc
+++ b/src/northbridge/via/vt8601/Makefile.inc
@@ -18,5 +18,5 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += northbridge.c
+ramstage-y += northbridge.c
diff --git a/src/northbridge/via/vt8623/Makefile.inc b/src/northbridge/via/vt8623/Makefile.inc
index 7f6f77d328..084e4e0f93 100644
--- a/src/northbridge/via/vt8623/Makefile.inc
+++ b/src/northbridge/via/vt8623/Makefile.inc
@@ -18,6 +18,6 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += northbridge.c
-driver-y += vga.c
+ramstage-y += northbridge.c
+ramstage-y += vga.c
diff --git a/src/northbridge/via/vx800/Makefile.inc b/src/northbridge/via/vx800/Makefile.inc
index 670a3e9550..188db464fb 100644
--- a/src/northbridge/via/vx800/Makefile.inc
+++ b/src/northbridge/via/vx800/Makefile.inc
@@ -18,10 +18,10 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += northbridge.c
-driver-y += vga.c
-driver-y += lpc.c
-driver-y += ide.c
+ramstage-y += northbridge.c
+ramstage-y += vga.c
+ramstage-y += lpc.c
+ramstage-y += ide.c
chipset_bootblock_inc += $(src)/northbridge/via/vx800/romstrap.inc
chipset_bootblock_lds += $(src)/northbridge/via/vx800/romstrap.lds
diff --git a/src/southbridge/amd/agesa/hudson/Makefile.inc b/src/southbridge/amd/agesa/hudson/Makefile.inc
index 4bd15230f1..9d61b590df 100644
--- a/src/southbridge/amd/agesa/hudson/Makefile.inc
+++ b/src/southbridge/amd/agesa/hudson/Makefile.inc
@@ -1,12 +1,12 @@
-driver-y += hudson.c
-driver-y += usb.c
-driver-y += lpc.c
-driver-y += sm.c
-driver-y += ide.c
-driver-y += sata.c
-driver-y += hda.c
-driver-y += pci.c
-driver-y += pcie.c
+ramstage-y += hudson.c
+ramstage-y += usb.c
+ramstage-y += lpc.c
+ramstage-y += sm.c
+ramstage-y += ide.c
+ramstage-y += sata.c
+ramstage-y += hda.c
+ramstage-y += pci.c
+ramstage-y += pcie.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
ramstage-y += reset.c
romstage-y += enable_usbdebug.c
diff --git a/src/southbridge/amd/amd8111/Makefile.inc b/src/southbridge/amd/amd8111/Makefile.inc
index cdad4a62ab..c5b2688e0d 100644
--- a/src/southbridge/amd/amd8111/Makefile.inc
+++ b/src/southbridge/amd/amd8111/Makefile.inc
@@ -1,11 +1,11 @@
-driver-y += amd8111.c
-driver-y += usb.c
-driver-y += lpc.c
-driver-y += ide.c
-driver-y += acpi.c
-driver-y += usb2.c
-driver-y += ac97.c
-driver-y += nic.c
-driver-y += pci.c
-driver-y += smbus.c
+ramstage-y += amd8111.c
+ramstage-y += usb.c
+ramstage-y += lpc.c
+ramstage-y += ide.c
+ramstage-y += acpi.c
+ramstage-y += usb2.c
+ramstage-y += ac97.c
+ramstage-y += nic.c
+ramstage-y += pci.c
+ramstage-y += smbus.c
ramstage-y += reset.c
diff --git a/src/southbridge/amd/amd8131/Makefile.inc b/src/southbridge/amd/amd8131/Makefile.inc
index d5b3a5f88e..ce96c9717b 100644
--- a/src/southbridge/amd/amd8131/Makefile.inc
+++ b/src/southbridge/amd/amd8131/Makefile.inc
@@ -1 +1 @@
-driver-y += bridge.c
+ramstage-y += bridge.c
diff --git a/src/southbridge/amd/amd8132/Makefile.inc b/src/southbridge/amd/amd8132/Makefile.inc
index d5b3a5f88e..ce96c9717b 100644
--- a/src/southbridge/amd/amd8132/Makefile.inc
+++ b/src/southbridge/amd/amd8132/Makefile.inc
@@ -1 +1 @@
-driver-y += bridge.c
+ramstage-y += bridge.c
diff --git a/src/southbridge/amd/amd8151/Makefile.inc b/src/southbridge/amd/amd8151/Makefile.inc
index b25139108a..dcb3c73543 100644
--- a/src/southbridge/amd/amd8151/Makefile.inc
+++ b/src/southbridge/amd/amd8151/Makefile.inc
@@ -1 +1 @@
-driver-y += agp3.c
+ramstage-y += agp3.c
diff --git a/src/southbridge/amd/cimx/sb700/Makefile.inc b/src/southbridge/amd/cimx/sb700/Makefile.inc
index 7929cf77c5..465fa9e7f1 100644
--- a/src/southbridge/amd/cimx/sb700/Makefile.inc
+++ b/src/southbridge/amd/cimx/sb700/Makefile.inc
@@ -25,7 +25,7 @@ romstage-y += smbus.c
ramstage-y += late.c
-driver-y += smbus.c
-driver-y += lpc.c
+ramstage-y += smbus.c
+ramstage-y += lpc.c
diff --git a/src/southbridge/amd/cimx/sb800/Makefile.inc b/src/southbridge/amd/cimx/sb800/Makefile.inc
index f02f0f72b8..bea976356a 100644
--- a/src/southbridge/amd/cimx/sb800/Makefile.inc
+++ b/src/southbridge/amd/cimx/sb800/Makefile.inc
@@ -30,8 +30,8 @@ ramstage-y += late.c
ramstage-$(CONFIG_HAVE_ACPI_RESUME) += spi.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
-driver-y += smbus.c
-driver-y += lpc.c
+ramstage-y += smbus.c
+ramstage-y += lpc.c
ifeq ($(CONFIG_SB800_SATA_AHCI), y)
ifdef CONFIG_SB800_AHCI_ROM
diff --git a/src/southbridge/amd/cimx/sb900/Makefile.inc b/src/southbridge/amd/cimx/sb900/Makefile.inc
index 49eb604b7f..737c354df6 100755
--- a/src/southbridge/amd/cimx/sb900/Makefile.inc
+++ b/src/southbridge/amd/cimx/sb900/Makefile.inc
@@ -28,7 +28,7 @@ ramstage-y += cfg.c
ramstage-y += early.c
ramstage-y += late.c
-driver-y += smbus.c
-driver-y += lpc.c
+ramstage-y += smbus.c
+ramstage-y += lpc.c
diff --git a/src/southbridge/amd/cs5530/Makefile.inc b/src/southbridge/amd/cs5530/Makefile.inc
index 4bde476743..9013611bb4 100644
--- a/src/southbridge/amd/cs5530/Makefile.inc
+++ b/src/southbridge/amd/cs5530/Makefile.inc
@@ -18,8 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += cs5530.c
-driver-y += isa.c
-driver-y += ide.c
-driver-y += vga.c
-driver-y += pirq.c
+ramstage-y += cs5530.c
+ramstage-y += isa.c
+ramstage-y += ide.c
+ramstage-y += vga.c
+ramstage-y += pirq.c
diff --git a/src/southbridge/amd/cs5535/Makefile.inc b/src/southbridge/amd/cs5535/Makefile.inc
index 5fecea8e7e..6f65e2e30d 100644
--- a/src/southbridge/amd/cs5535/Makefile.inc
+++ b/src/southbridge/amd/cs5535/Makefile.inc
@@ -1,4 +1,4 @@
-driver-y += cs5535.c
-#driver-y += pci.c
-#driver-y += ide.c
+ramstage-y += cs5535.c
+#ramstage-y += pci.c
+#ramstage-y += ide.c
ramstage-y += chipsetinit.c
diff --git a/src/southbridge/amd/cs5536/Makefile.inc b/src/southbridge/amd/cs5536/Makefile.inc
index 3d2613b4ce..fb8e547e5e 100644
--- a/src/southbridge/amd/cs5536/Makefile.inc
+++ b/src/southbridge/amd/cs5536/Makefile.inc
@@ -17,8 +17,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += cs5536.c
-driver-y += ide.c
-driver-y += pirq.c
-driver-y += smbus.c
+ramstage-y += cs5536.c
+ramstage-y += ide.c
+ramstage-y += pirq.c
+ramstage-y += smbus.c
romstage-y += smbus.c \ No newline at end of file
diff --git a/src/southbridge/amd/rs690/Makefile.inc b/src/southbridge/amd/rs690/Makefile.inc
index 5849340ce0..e0cf927812 100644
--- a/src/southbridge/amd/rs690/Makefile.inc
+++ b/src/southbridge/amd/rs690/Makefile.inc
@@ -1,5 +1,5 @@
-driver-y += rs690.c
-driver-y += cmn.c
-driver-y += pcie.c
-driver-y += ht.c
-driver-y += gfx.c
+ramstage-y += rs690.c
+ramstage-y += cmn.c
+ramstage-y += pcie.c
+ramstage-y += ht.c
+ramstage-y += gfx.c
diff --git a/src/southbridge/amd/rs780/Makefile.inc b/src/southbridge/amd/rs780/Makefile.inc
index db425702d6..bf51d83e8f 100644
--- a/src/southbridge/amd/rs780/Makefile.inc
+++ b/src/southbridge/amd/rs780/Makefile.inc
@@ -1,5 +1,5 @@
-driver-y += rs780.c
-driver-y += cmn.c
-driver-y += pcie.c
-driver-y += ht.c
-driver-y += gfx.c
+ramstage-y += rs780.c
+ramstage-y += cmn.c
+ramstage-y += pcie.c
+ramstage-y += ht.c
+ramstage-y += gfx.c
diff --git a/src/southbridge/amd/sb600/Makefile.inc b/src/southbridge/amd/sb600/Makefile.inc
index d7451d2488..57ef4de26d 100644
--- a/src/southbridge/amd/sb600/Makefile.inc
+++ b/src/southbridge/amd/sb600/Makefile.inc
@@ -1,12 +1,12 @@
-driver-y += sb600.c
-driver-y += usb.c
-driver-y += lpc.c
-driver-y += sm.c
-driver-y += ide.c
-driver-y += sata.c
-driver-y += hda.c
-driver-y += ac97.c
-driver-y += pci.c
+ramstage-y += sb600.c
+ramstage-y += usb.c
+ramstage-y += lpc.c
+ramstage-y += sm.c
+ramstage-y += ide.c
+ramstage-y += sata.c
+ramstage-y += hda.c
+ramstage-y += ac97.c
+ramstage-y += pci.c
ramstage-y += reset.c
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
diff --git a/src/southbridge/amd/sb700/Makefile.inc b/src/southbridge/amd/sb700/Makefile.inc
index 49caedfa5f..6f699f016d 100644
--- a/src/southbridge/amd/sb700/Makefile.inc
+++ b/src/southbridge/amd/sb700/Makefile.inc
@@ -1,12 +1,12 @@
-driver-y += sb700.c
-driver-y += usb.c
-driver-y += lpc.c
-driver-y += smbus.c
-driver-y += sm.c
-driver-y += ide.c
-driver-y += sata.c
-driver-y += hda.c
-driver-y += pci.c
+ramstage-y += sb700.c
+ramstage-y += usb.c
+ramstage-y += lpc.c
+ramstage-y += smbus.c
+ramstage-y += sm.c
+ramstage-y += ide.c
+ramstage-y += sata.c
+ramstage-y += hda.c
+ramstage-y += pci.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
romstage-y += reset.c
ramstage-y += reset.c
diff --git a/src/southbridge/amd/sb800/Makefile.inc b/src/southbridge/amd/sb800/Makefile.inc
index 38b7d50c11..3e7bf11978 100644
--- a/src/southbridge/amd/sb800/Makefile.inc
+++ b/src/southbridge/amd/sb800/Makefile.inc
@@ -1,12 +1,12 @@
-driver-y += sb800.c
-driver-y += usb.c
-driver-y += lpc.c
-driver-y += sm.c
-driver-y += ide.c
-driver-y += sata.c
-driver-y += hda.c
-driver-y += pci.c
-driver-y += pcie.c
+ramstage-y += sb800.c
+ramstage-y += usb.c
+ramstage-y += lpc.c
+ramstage-y += sm.c
+ramstage-y += ide.c
+ramstage-y += sata.c
+ramstage-y += hda.c
+ramstage-y += pci.c
+ramstage-y += pcie.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
ramstage-y += reset.c
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
diff --git a/src/southbridge/amd/sr5650/Makefile.inc b/src/southbridge/amd/sr5650/Makefile.inc
index 0a4ce39da9..3c17be07c0 100644
--- a/src/southbridge/amd/sr5650/Makefile.inc
+++ b/src/southbridge/amd/sr5650/Makefile.inc
@@ -1,5 +1,5 @@
-driver-y += sr5650.c
-driver-y += pcie.c
-driver-y += ht.c
+ramstage-y += sr5650.c
+ramstage-y += pcie.c
+ramstage-y += ht.c
romstage-y += early_setup.c
diff --git a/src/southbridge/broadcom/bcm21000/Makefile.inc b/src/southbridge/broadcom/bcm21000/Makefile.inc
index 8e5ba7411b..f85aeb1363 100644
--- a/src/southbridge/broadcom/bcm21000/Makefile.inc
+++ b/src/southbridge/broadcom/bcm21000/Makefile.inc
@@ -1 +1 @@
-driver-y += pcie.c
+ramstage-y += pcie.c
diff --git a/src/southbridge/broadcom/bcm5780/Makefile.inc b/src/southbridge/broadcom/bcm5780/Makefile.inc
index b8a1b96c27..4eb834a74d 100644
--- a/src/southbridge/broadcom/bcm5780/Makefile.inc
+++ b/src/southbridge/broadcom/bcm5780/Makefile.inc
@@ -1,3 +1,3 @@
-driver-y += nic.c
-driver-y += pcix.c
-driver-y += pcie.c
+ramstage-y += nic.c
+ramstage-y += pcix.c
+ramstage-y += pcie.c
diff --git a/src/southbridge/broadcom/bcm5785/Makefile.inc b/src/southbridge/broadcom/bcm5785/Makefile.inc
index 9ad67ccf1f..b8427c4ff6 100644
--- a/src/southbridge/broadcom/bcm5785/Makefile.inc
+++ b/src/southbridge/broadcom/bcm5785/Makefile.inc
@@ -1,7 +1,7 @@
-driver-y += bcm5785.c
-driver-y += usb.c
-driver-y += lpc.c
-driver-y += sb_pci_main.c
-driver-y += ide.c
-driver-y += sata.c
+ramstage-y += bcm5785.c
+ramstage-y += usb.c
+ramstage-y += lpc.c
+ramstage-y += sb_pci_main.c
+ramstage-y += ide.c
+ramstage-y += sata.c
ramstage-y += reset.c
diff --git a/src/southbridge/intel/bd82x6x/Makefile.inc b/src/southbridge/intel/bd82x6x/Makefile.inc
index 7fd6ca8a25..bc067cac36 100644
--- a/src/southbridge/intel/bd82x6x/Makefile.inc
+++ b/src/southbridge/intel/bd82x6x/Makefile.inc
@@ -22,16 +22,16 @@
# image outside of CBFS
INTERMEDIATE+=bd82x6x_add_me
-driver-y += pch.c
-driver-y += azalia.c
-driver-y += lpc.c
-driver-y += pci.c
-driver-y += pcie.c
-driver-y += sata.c
-driver-y += usb_ehci.c
-driver-y += me.c
-driver-y += me_8.x.c
-driver-y += smbus.c
+ramstage-y += pch.c
+ramstage-y += azalia.c
+ramstage-y += lpc.c
+ramstage-y += pci.c
+ramstage-y += pcie.c
+ramstage-y += sata.c
+ramstage-y += usb_ehci.c
+ramstage-y += me.c
+ramstage-y += me_8.x.c
+ramstage-y += smbus.c
ramstage-y += me_status.c
ramstage-y += reset.c
diff --git a/src/southbridge/intel/esb6300/Makefile.inc b/src/southbridge/intel/esb6300/Makefile.inc
index 004ff13a55..bb70fdcc62 100644
--- a/src/southbridge/intel/esb6300/Makefile.inc
+++ b/src/southbridge/intel/esb6300/Makefile.inc
@@ -1,12 +1,12 @@
-driver-y += esb6300.c
-driver-y += reset.c
-driver-y += uhci.c
-driver-y += lpc.c
-driver-y += ide.c
-driver-y += sata.c
-driver-y += ehci.c
-driver-y += smbus.c
-driver-y += pci.c
-driver-y += pic.c
-driver-y += bridge1c.c
-driver-y += ac97.c
+ramstage-y += esb6300.c
+ramstage-y += reset.c
+ramstage-y += uhci.c
+ramstage-y += lpc.c
+ramstage-y += ide.c
+ramstage-y += sata.c
+ramstage-y += ehci.c
+ramstage-y += smbus.c
+ramstage-y += pci.c
+ramstage-y += pic.c
+ramstage-y += bridge1c.c
+ramstage-y += ac97.c
diff --git a/src/southbridge/intel/i3100/Makefile.inc b/src/southbridge/intel/i3100/Makefile.inc
index ddcb0f9181..dc3d0395e9 100644
--- a/src/southbridge/intel/i3100/Makefile.inc
+++ b/src/southbridge/intel/i3100/Makefile.inc
@@ -1,10 +1,10 @@
-driver-y += i3100.c
-driver-y += uhci.c
-driver-y += lpc.c
-driver-y += sata.c
-driver-y += ehci.c
-driver-y += smbus.c
-driver-y += pci.c
-driver-y += ioapic.c
+ramstage-y += i3100.c
+ramstage-y += uhci.c
+ramstage-y += lpc.c
+ramstage-y += sata.c
+ramstage-y += ehci.c
+ramstage-y += smbus.c
+ramstage-y += pci.c
+ramstage-y += ioapic.c
ramstage-y += reset.c
ramstage-y += pciexp_portb.c
diff --git a/src/southbridge/intel/i82371eb/Makefile.inc b/src/southbridge/intel/i82371eb/Makefile.inc
index 9e2c3ebed9..af4c705d3e 100644
--- a/src/southbridge/intel/i82371eb/Makefile.inc
+++ b/src/southbridge/intel/i82371eb/Makefile.inc
@@ -18,15 +18,15 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += i82371eb.c
-driver-y += isa.c
-driver-y += ide.c
-driver-y += usb.c
-driver-y += smbus.c
-driver-y += reset.c
-driver-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
-driver-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.c
-driver-$(CONFIG_HAVE_ACPI_RESUME) += wakeup.c
+ramstage-y += i82371eb.c
+ramstage-y += isa.c
+ramstage-y += ide.c
+ramstage-y += usb.c
+ramstage-y += smbus.c
+ramstage-y += reset.c
+ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
+ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.c
+ramstage-$(CONFIG_HAVE_ACPI_RESUME) += wakeup.c
romstage-y += early_pm.c
romstage-y += early_smbus.c
diff --git a/src/southbridge/intel/i82801ax/Makefile.inc b/src/southbridge/intel/i82801ax/Makefile.inc
index de0c7228ed..639665046f 100644
--- a/src/southbridge/intel/i82801ax/Makefile.inc
+++ b/src/southbridge/intel/i82801ax/Makefile.inc
@@ -18,13 +18,13 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += i82801ax.c
-driver-y += ac97.c
-driver-y += ide.c
-driver-y += lpc.c
-driver-y += pci.c
-driver-y += smbus.c
-driver-y += usb.c
+ramstage-y += i82801ax.c
+ramstage-y += ac97.c
+ramstage-y += ide.c
+ramstage-y += lpc.c
+ramstage-y += pci.c
+ramstage-y += smbus.c
+ramstage-y += usb.c
ramstage-y += reset.c
ramstage-y += watchdog.c
diff --git a/src/southbridge/intel/i82801bx/Makefile.inc b/src/southbridge/intel/i82801bx/Makefile.inc
index b3587f2228..2b368bb3fe 100644
--- a/src/southbridge/intel/i82801bx/Makefile.inc
+++ b/src/southbridge/intel/i82801bx/Makefile.inc
@@ -18,14 +18,14 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += i82801bx.c
-driver-y += ac97.c
-driver-y += ide.c
-driver-y += lpc.c
-driver-y += nic.c
-driver-y += pci.c
-driver-y += smbus.c
-driver-y += usb.c
+ramstage-y += i82801bx.c
+ramstage-y += ac97.c
+ramstage-y += ide.c
+ramstage-y += lpc.c
+ramstage-y += nic.c
+ramstage-y += pci.c
+ramstage-y += smbus.c
+ramstage-y += usb.c
ramstage-y += reset.c
ramstage-y += watchdog.c
diff --git a/src/southbridge/intel/i82801cx/Makefile.inc b/src/southbridge/intel/i82801cx/Makefile.inc
index 9c5c7fbc45..c375476d47 100644
--- a/src/southbridge/intel/i82801cx/Makefile.inc
+++ b/src/southbridge/intel/i82801cx/Makefile.inc
@@ -1,8 +1,8 @@
-driver-y += i82801cx.c
-driver-y += usb.c
-driver-y += lpc.c
-driver-y += ide.c
-driver-y += ac97.c
-#driver-y += nic.c
-driver-y += pci.c
+ramstage-y += i82801cx.c
+ramstage-y += usb.c
+ramstage-y += lpc.c
+ramstage-y += ide.c
+ramstage-y += ac97.c
+#ramstage-y += nic.c
+ramstage-y += pci.c
ramstage-y += reset.c
diff --git a/src/southbridge/intel/i82801dx/Makefile.inc b/src/southbridge/intel/i82801dx/Makefile.inc
index 9644210b53..e412ef9089 100644
--- a/src/southbridge/intel/i82801dx/Makefile.inc
+++ b/src/southbridge/intel/i82801dx/Makefile.inc
@@ -19,13 +19,13 @@
## MA 02110-1301 USA
##
-driver-y += i82801dx.c
-driver-y += ac97.c
-driver-y += ide.c
-driver-y += lpc.c
-#driver-y += pci.c
-driver-y += usb.c
-driver-y += usb2.c
+ramstage-y += i82801dx.c
+ramstage-y += ac97.c
+ramstage-y += ide.c
+ramstage-y += lpc.c
+#ramstage-y += pci.c
+ramstage-y += usb.c
+ramstage-y += usb2.c
ramstage-y += reset.c
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c
diff --git a/src/southbridge/intel/i82801ex/Makefile.inc b/src/southbridge/intel/i82801ex/Makefile.inc
index e0d3148755..fb76a98453 100644
--- a/src/southbridge/intel/i82801ex/Makefile.inc
+++ b/src/southbridge/intel/i82801ex/Makefile.inc
@@ -1,11 +1,11 @@
-driver-y += i82801ex.c
-driver-y += uhci.c
-driver-y += lpc.c
-driver-y += ide.c
-driver-y += sata.c
-driver-y += ehci.c
-driver-y += smbus.c
-driver-y += pci.c
-driver-y += ac97.c
+ramstage-y += i82801ex.c
+ramstage-y += uhci.c
+ramstage-y += lpc.c
+ramstage-y += ide.c
+ramstage-y += sata.c
+ramstage-y += ehci.c
+ramstage-y += smbus.c
+ramstage-y += pci.c
+ramstage-y += ac97.c
ramstage-y += watchdog.c
ramstage-y += reset.c
diff --git a/src/southbridge/intel/i82801gx/Makefile.inc b/src/southbridge/intel/i82801gx/Makefile.inc
index c23a314878..b286576aff 100644
--- a/src/southbridge/intel/i82801gx/Makefile.inc
+++ b/src/southbridge/intel/i82801gx/Makefile.inc
@@ -17,18 +17,18 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += i82801gx.c
-driver-y += ac97.c
-driver-y += azalia.c
-driver-y += ide.c
-driver-y += lpc.c
-driver-y += nic.c
-driver-y += pci.c
-driver-y += pcie.c
-driver-y += sata.c
-driver-y += smbus.c
-driver-y += usb.c
-driver-y += usb_ehci.c
+ramstage-y += i82801gx.c
+ramstage-y += ac97.c
+ramstage-y += azalia.c
+ramstage-y += ide.c
+ramstage-y += lpc.c
+ramstage-y += nic.c
+ramstage-y += pci.c
+ramstage-y += pcie.c
+ramstage-y += sata.c
+ramstage-y += smbus.c
+ramstage-y += usb.c
+ramstage-y += usb_ehci.c
ramstage-y += reset.c
ramstage-y += watchdog.c
diff --git a/src/southbridge/intel/i82870/Makefile.inc b/src/southbridge/intel/i82870/Makefile.inc
index 7ca6fb5b07..190aa4f1e9 100644
--- a/src/southbridge/intel/i82870/Makefile.inc
+++ b/src/southbridge/intel/i82870/Makefile.inc
@@ -1,3 +1,3 @@
-driver-y += ioapic.c
-driver-y += pcibridge.c
-#driver-y += pci_parity.c
+ramstage-y += ioapic.c
+ramstage-y += pcibridge.c
+#ramstage-y += pci_parity.c
diff --git a/src/southbridge/intel/pxhd/Makefile.inc b/src/southbridge/intel/pxhd/Makefile.inc
index d5b3a5f88e..ce96c9717b 100644
--- a/src/southbridge/intel/pxhd/Makefile.inc
+++ b/src/southbridge/intel/pxhd/Makefile.inc
@@ -1 +1 @@
-driver-y += bridge.c
+ramstage-y += bridge.c
diff --git a/src/southbridge/intel/sch/Makefile.inc b/src/southbridge/intel/sch/Makefile.inc
index 42ff877f8b..d7c245a70b 100644
--- a/src/southbridge/intel/sch/Makefile.inc
+++ b/src/southbridge/intel/sch/Makefile.inc
@@ -17,16 +17,16 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += south.c
-driver-y += audio.c
-driver-y += lpc.c
-driver-y += ide.c
-driver-y += pcie.c
-driver-y += usb.c
-driver-y += usb_ehci.c
-driver-y += usb_client.c
-driver-y += mmc.c
-driver-y += smbus.c
+ramstage-y += south.c
+ramstage-y += audio.c
+ramstage-y += lpc.c
+ramstage-y += ide.c
+ramstage-y += pcie.c
+ramstage-y += usb.c
+ramstage-y += usb_ehci.c
+ramstage-y += usb_client.c
+ramstage-y += mmc.c
+ramstage-y += smbus.c
ramstage-y += reset.c
diff --git a/src/southbridge/nvidia/ck804/Makefile.inc b/src/southbridge/nvidia/ck804/Makefile.inc
index debe227585..bfafa23e41 100644
--- a/src/southbridge/nvidia/ck804/Makefile.inc
+++ b/src/southbridge/nvidia/ck804/Makefile.inc
@@ -1,15 +1,15 @@
-driver-y += ck804.c
-driver-y += usb.c
-driver-y += lpc.c
-driver-y += smbus.c
-driver-y += ide.c
-driver-y += sata.c
-driver-y += usb2.c
-driver-y += ac97.c
-driver-y += nic.c
-driver-y += pci.c
-driver-y += pcie.c
-driver-y += ht.c
+ramstage-y += ck804.c
+ramstage-y += usb.c
+ramstage-y += lpc.c
+ramstage-y += smbus.c
+ramstage-y += ide.c
+ramstage-y += sata.c
+ramstage-y += usb2.c
+ramstage-y += ac97.c
+ramstage-y += nic.c
+ramstage-y += pci.c
+ramstage-y += pcie.c
+ramstage-y += ht.c
ramstage-y += reset.c
diff --git a/src/southbridge/nvidia/mcp55/Makefile.inc b/src/southbridge/nvidia/mcp55/Makefile.inc
index 26844da696..b20804a978 100644
--- a/src/southbridge/nvidia/mcp55/Makefile.inc
+++ b/src/southbridge/nvidia/mcp55/Makefile.inc
@@ -1,17 +1,17 @@
-driver-y += mcp55.c
-driver-y += azalia.c
-driver-y += ht.c
-driver-y += ide.c
-driver-y += lpc.c
-driver-y += nic.c
-driver-y += pci.c
-driver-y += pcie.c
-driver-y += sata.c
-driver-y += smbus.c
-driver-y += usb2.c
-driver-y += usb.c
+ramstage-y += mcp55.c
+ramstage-y += azalia.c
+ramstage-y += ht.c
+ramstage-y += ide.c
+ramstage-y += lpc.c
+ramstage-y += nic.c
+ramstage-y += pci.c
+ramstage-y += pcie.c
+ramstage-y += sata.c
+ramstage-y += smbus.c
+ramstage-y += usb2.c
+ramstage-y += usb.c
-driver-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
+ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
ramstage-y += reset.c
diff --git a/src/southbridge/rdc/r8610/Makefile.inc b/src/southbridge/rdc/r8610/Makefile.inc
index 24d76a8571..8820b09778 100644
--- a/src/southbridge/rdc/r8610/Makefile.inc
+++ b/src/southbridge/rdc/r8610/Makefile.inc
@@ -17,4 +17,4 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += r8610.c
+ramstage-y += r8610.c
diff --git a/src/southbridge/ricoh/rl5c476/Makefile.inc b/src/southbridge/ricoh/rl5c476/Makefile.inc
index 71604b7279..315670693b 100644
--- a/src/southbridge/ricoh/rl5c476/Makefile.inc
+++ b/src/southbridge/ricoh/rl5c476/Makefile.inc
@@ -1 +1 @@
-driver-y += rl5c476.c
+ramstage-y += rl5c476.c
diff --git a/src/southbridge/sis/sis966/Makefile.inc b/src/southbridge/sis/sis966/Makefile.inc
index 76dd31a272..b25aa9ed87 100644
--- a/src/southbridge/sis/sis966/Makefile.inc
+++ b/src/southbridge/sis/sis966/Makefile.inc
@@ -1,13 +1,13 @@
-driver-y += sis761.c
-driver-y += sis966.c
-driver-y += lpc.c
-driver-y += ide.c
-driver-y += usb.c
-driver-y += usb2.c
-driver-y += nic.c
-driver-y += sata.c
-driver-y += pcie.c
-driver-y += aza.c
+ramstage-y += sis761.c
+ramstage-y += sis966.c
+ramstage-y += lpc.c
+ramstage-y += ide.c
+ramstage-y += usb.c
+ramstage-y += usb2.c
+ramstage-y += nic.c
+ramstage-y += sata.c
+ramstage-y += pcie.c
+ramstage-y += aza.c
ramstage-y += reset.c
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
diff --git a/src/southbridge/ti/pci1x2x/Makefile.inc b/src/southbridge/ti/pci1x2x/Makefile.inc
index d6a9c0c920..7c0e4aac0e 100644
--- a/src/southbridge/ti/pci1x2x/Makefile.inc
+++ b/src/southbridge/ti/pci1x2x/Makefile.inc
@@ -1 +1 @@
-driver-$(CONFIG_SOUTHBRIDGE_TI_PCI1X2X) += pci1x2x.c
+ramstage-$(CONFIG_SOUTHBRIDGE_TI_PCI1X2X) += pci1x2x.c
diff --git a/src/southbridge/ti/pci7420/Makefile.inc b/src/southbridge/ti/pci7420/Makefile.inc
index 5081694808..7d27b9641e 100644
--- a/src/southbridge/ti/pci7420/Makefile.inc
+++ b/src/southbridge/ti/pci7420/Makefile.inc
@@ -17,6 +17,6 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += cardbus.c
-driver-y += firewire.c
+ramstage-y += cardbus.c
+ramstage-y += firewire.c
diff --git a/src/southbridge/ti/pcixx12/Makefile.inc b/src/southbridge/ti/pcixx12/Makefile.inc
index a14ad0e298..99ef4ddf9b 100644
--- a/src/southbridge/ti/pcixx12/Makefile.inc
+++ b/src/southbridge/ti/pcixx12/Makefile.inc
@@ -17,5 +17,5 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += pcixx12.c
+ramstage-y += pcixx12.c
diff --git a/src/southbridge/via/k8t890/Makefile.inc b/src/southbridge/via/k8t890/Makefile.inc
index 972ff70074..6d9407d03b 100644
--- a/src/southbridge/via/k8t890/Makefile.inc
+++ b/src/southbridge/via/k8t890/Makefile.inc
@@ -1,12 +1,12 @@
-driver-y += ctrl.c
-driver-y += dram.c
-driver-y += bridge.c
-driver-y += host.c
-driver-y += host_ctrl.c
-driver-y += pcie.c
-driver-y += traf_ctrl.c
-driver-y += error.c
-driver-y += chrome.c
+ramstage-y += ctrl.c
+ramstage-y += dram.c
+ramstage-y += bridge.c
+ramstage-y += host.c
+ramstage-y += host_ctrl.c
+ramstage-y += pcie.c
+ramstage-y += traf_ctrl.c
+ramstage-y += error.c
+ramstage-y += chrome.c
chipset_bootblock_inc += $(src)/southbridge/via/k8t890/romstrap.inc
chipset_bootblock_lds += $(src)/southbridge/via/k8t890/romstrap.lds
diff --git a/src/southbridge/via/vt8231/Makefile.inc b/src/southbridge/via/vt8231/Makefile.inc
index b9e7ef6f1d..0f5f507554 100644
--- a/src/southbridge/via/vt8231/Makefile.inc
+++ b/src/southbridge/via/vt8231/Makefile.inc
@@ -17,9 +17,9 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += vt8231.c
-driver-y += lpc.c
-driver-y += acpi.c
-driver-y += ide.c
-driver-y += nic.c
-#driver-y += usb.c
+ramstage-y += vt8231.c
+ramstage-y += lpc.c
+ramstage-y += acpi.c
+ramstage-y += ide.c
+ramstage-y += nic.c
+#ramstage-y += usb.c
diff --git a/src/southbridge/via/vt8235/Makefile.inc b/src/southbridge/via/vt8235/Makefile.inc
index 02e22640bf..a5469c9952 100644
--- a/src/southbridge/via/vt8235/Makefile.inc
+++ b/src/southbridge/via/vt8235/Makefile.inc
@@ -17,8 +17,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += vt8235.c
-driver-y += ide.c
-driver-y += lpc.c
-driver-y += nic.c
-driver-y += usb.c
+ramstage-y += vt8235.c
+ramstage-y += ide.c
+ramstage-y += lpc.c
+ramstage-y += nic.c
+ramstage-y += usb.c
diff --git a/src/southbridge/via/vt8237r/Makefile.inc b/src/southbridge/via/vt8237r/Makefile.inc
index 6474e585e7..73d8f5ad18 100644
--- a/src/southbridge/via/vt8237r/Makefile.inc
+++ b/src/southbridge/via/vt8237r/Makefile.inc
@@ -17,13 +17,13 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-driver-y += vt8237r.c
-driver-y += ctrl.c
-driver-y += ide.c
-driver-y += lpc.c
-driver-y += sata.c
-driver-y += usb.c
-driver-$(CONFIG_PIRQ_ROUTE) += pirq.c
+ramstage-y += vt8237r.c
+ramstage-y += ctrl.c
+ramstage-y += ide.c
+ramstage-y += lpc.c
+ramstage-y += sata.c
+ramstage-y += usb.c
+ramstage-$(CONFIG_PIRQ_ROUTE) += pirq.c
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c