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@xxxxxxxxxxxxxxxx> --- pbl/misc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pbl/misc.c b/pbl/misc.c index 9065bf0..7e76120 100644 --- a/pbl/misc.c +++ b/pbl/misc.c @@ -13,9 +13,3 @@ void __noreturn panic(const char *fmt, ...) { while(1); } - -void __noreturn start_barebox(void) -{ - /* Should never be here in the pbl */ - hang(); -} -- 1.9.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox