summaryrefslogtreecommitdiffstats
path: root/src/ec
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/ec
parent18607f717eb125f49431da3843c19fcb25f1ee81 (diff)
downloadcoreboot-23f38cd05c05ed1876febfa59b652cd7171027ca.tar.gz
coreboot-23f38cd05c05ed1876febfa59b652cd7171027ca.tar.bz2
coreboot-23f38cd05c05ed1876febfa59b652cd7171027ca.zip
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/ec')
-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
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/lenovo/h8/Makefile.inc b/src/ec/lenovo/h8/Makefile.inc
index 86bc6632ae37..9fef94c547d5 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 e441980defb5..f42e0e4cb817 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 95c6c030d2ce..0accda3f553d 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