barebox/pbl/misc.c
Sascha Hauer 0bbb021b48 startup: add __noreturn to start_barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-01-20 16:33:03 +01:00

22 lines
307 B
C

#include <common.h>
#include <init.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/ctype.h>
void __noreturn hang(void)
{
while (1);
}
void __noreturn panic(const char *fmt, ...)
{
while(1);
}
void __noreturn start_barebox(void)
{
/* Should never be here in the pbl */
hang();
}