[PATCH 13/15] pbl: provide hang() function for the pbl
Sascha Hauer
s.hauer at pengutronix.de
Fri Oct 26 02:59:06 EDT 2012
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
pbl/misc.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pbl/misc.c b/pbl/misc.c
index 47e9cea..a2cb44d 100644
--- a/pbl/misc.c
+++ b/pbl/misc.c
@@ -4,6 +4,11 @@
#include <linux/string.h>
#include <linux/ctype.h>
+void __noreturn hang(void)
+{
+ while (1);
+}
+
void __noreturn panic(const char *fmt, ...)
{
while(1);
--
1.7.10.4
More information about the barebox
mailing list