summaryrefslogtreecommitdiffstats
path: root/common/startup.c
diff options
context:
space:
mode:
authorHerve Codina <Herve.CODINA@celad.com>2015-07-06 09:36:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-13 08:28:19 +0200
commit0fd5944d521207171d08def9e0a8a1ee49e6359e (patch)
treebe3b0df0a0a8ed59367f3a1afc887e3039ae94cd /common/startup.c
parent74438aa4dc1d5d8788a2d7e327c280d8836c8cca (diff)
downloadbarebox-0fd5944d521207171d08def9e0a8a1ee49e6359e.tar.gz
exitcall: move board_shutdown to exitcall infrastructure
Signed-off-by: Herve Codina <Herve.CODINA@celad.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/startup.c')
-rw-r--r--common/startup.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/startup.c b/common/startup.c
index 10770e7..802b90e 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -135,8 +135,6 @@ void __noreturn hang (void)
for (;;);
}
-void (*board_shutdown)(void);
-
/* Everything needed to cleanly shutdown barebox.
* Should be called before starting an OS to get
* the devices into a clean state
@@ -150,7 +148,4 @@ void shutdown_barebox(void)
pr_debug("exitcall-> %pS\n", *exitcall);
(*exitcall)();
}
-
- if (board_shutdown)
- board_shutdown();
}