summaryrefslogtreecommitdiffstats
path: root/pbl
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-20 13:36:20 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-20 16:33:03 +0100
commit0bbb021b48b62a4e1e4c28bb54d494745034725a (patch)
tree0c3501e3c5abef21c10f64f0fc022ccc715a549c /pbl
parent7ed52f887036fb0f4c1c4ccb38b72fd766082410 (diff)
downloadbarebox-0bbb021b48b62a4e1e4c28bb54d494745034725a.tar.gz
startup: add __noreturn to start_barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'pbl')
-rw-r--r--pbl/misc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pbl/misc.c b/pbl/misc.c
index a2cb44d..9065bf0 100644
--- a/pbl/misc.c
+++ b/pbl/misc.c
@@ -14,6 +14,8 @@ void __noreturn panic(const char *fmt, ...)
while(1);
}
-void start_barebox(void)
+void __noreturn start_barebox(void)
{
+ /* Should never be here in the pbl */
+ hang();
}