From 1b2f2a071488bd15ce80194e85d318cd44659e54 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 28 Nov 2014 22:00:22 +0100 Subject: 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 Reviewed-on: http://review.coreboot.org/7605 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/lib/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/Makefile.inc') 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 -- cgit v1.2.3