summaryrefslogtreecommitdiff
path: root/src/lib/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2014-11-28 22:00:22 +0100
committerPatrick Georgi <pgeorgi@google.com>2014-11-30 12:20:05 +0100
commit1b2f2a071488bd15ce80194e85d318cd44659e54 (patch)
treeedc2d56a24ddcd54beefbd5a99fc33a070590102 /src/lib/Makefile.inc
parent5f967492e351ea6bc473a6d192fe4e2aafc00b1e (diff)
downloadcoreboot-1b2f2a071488bd15ce80194e85d318cd44659e54.tar.xz
Introduce halt()
It's a portable and generic way to halt the system. Useful when waiting for the platform to reset. Change-Id: Ie07f3333d294a4d3e982cbc2ab9014c94b39fce0 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/7605 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/lib/Makefile.inc')
-rw-r--r--src/lib/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 55e0d6db03..9dccee6088 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -104,6 +104,11 @@ $(obj)/lib/version.smm.o : $(obj)/build.h
romstage-y += bootmode.c
ramstage-y += bootmode.c
+bootblock-y += halt.c
+romstage-y += halt.c
+ramstage-y += halt.c
+smm-y += halt.c
+
ifeq ($(CONFIG_RELOCATABLE_MODULES),y)
ramstage-y += rmodule.c
romstage-$(CONFIG_RELOCATABLE_RAMSTAGE) += rmodule.c