summaryrefslogtreecommitdiffstats
path: root/pbl
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-12 11:04:50 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2015-02-12 10:50:22 +0100
commit84fcb11b02df83d89a62ec33d7ed0bbd700b0318 (patch)
tree5464fe48409f1ce29f2d1344c7fe7d7f14de33ae /pbl
parentc0225222c1e249f71bcb01bdd18a61fd2342a8e3 (diff)
downloadbarebox-84fcb11b02df83d89a62ec33d7ed0bbd700b0318.tar.gz
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>
Diffstat (limited to 'pbl')
-rw-r--r--pbl/misc.c6
1 files changed, 0 insertions, 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();
-}