summaryrefslogtreecommitdiffstats
path: root/pbl/misc.c
blob: 9065bf0855d92076bd5fdbb75cb01618e7396027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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();
}