summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-03-30 10:31:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-03-30 14:15:03 +0200
commitedf4e51a8239b111bf89280ef4ab59e6a1094213 (patch)
tree200aa95147f8ac0fc904124aaa576c737091b4b8 /common
parente723f79cb7d35b56bc8b5bcb16a5818ec3e20ef0 (diff)
downloadbarebox-edf4e51a8239b111bf89280ef4ab59e6a1094213.tar.gz
barebox-edf4e51a8239b111bf89280ef4ab59e6a1094213.tar.xz
introduce a arch_shutdown call and call it from shutdown_barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/startup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/startup.c b/common/startup.c
index c7d0cf0df1..2ed16fea0c 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -174,5 +174,8 @@ void __noreturn hang (void)
void shutdown_barebox(void)
{
devices_shutdown();
+#ifdef ARCH_SHUTDOWN
+ arch_shutdown();
+#endif
}