barebox/pbl/misc.c
Masahiro Yamada 84fcb11b02 pbl: remove start_barebox() stub
PBL never calls start_barebox().  If it does, it is a bug.
Without this stub function, we can detect such a bug at link time.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-02-12 10:50:22 +01:00

16 lines
218 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);
}