From edf4e51a8239b111bf89280ef4ab59e6a1094213 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 30 Mar 2010 10:31:15 +0200 Subject: introduce a arch_shutdown call and call it from shutdown_barebox Signed-off-by: Sascha Hauer --- common/startup.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') 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 } -- cgit v1.2.3