From 84fcb11b02df83d89a62ec33d7ed0bbd700b0318 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 12 Feb 2015 11:04:50 +0900 Subject: 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 Signed-off-by: Sascha Hauer --- pbl/misc.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'pbl/misc.c') diff --git a/pbl/misc.c b/pbl/misc.c index 9065bf0855..7e76120a68 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(); -} -- cgit v1.2.3