[PATCH] pbl: remove start_barebox() stub
Masahiro Yamada
yamada.m at jp.panasonic.com
Wed Feb 11 18:04:50 PST 2015
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 at jp.panasonic.com>
---
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
More information about the barebox
mailing list