2012-07-27 17:25:56 +00:00
|
|
|
#include <common.h>
|
|
|
|
#include <init.h>
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/string.h>
|
|
|
|
#include <linux/ctype.h>
|
|
|
|
|
2012-10-26 06:43:42 +00:00
|
|
|
void __noreturn hang(void)
|
|
|
|
{
|
|
|
|
while (1);
|
|
|
|
}
|
|
|
|
|
2012-07-27 17:25:56 +00:00
|
|
|
void __noreturn panic(const char *fmt, ...)
|
|
|
|
{
|
|
|
|
while(1);
|
|
|
|
}
|
|
|
|
|
2013-01-20 12:36:20 +00:00
|
|
|
void __noreturn start_barebox(void)
|
2012-07-27 17:25:56 +00:00
|
|
|
{
|
2013-01-20 12:36:20 +00:00
|
|
|
/* Should never be here in the pbl */
|
|
|
|
hang();
|
2012-07-27 17:25:56 +00:00
|
|
|
}
|