[PATCH 04/12] blackfin: implement arch_shutdown call

Sascha Hauer s.hauer at pengutronix.de
Tue Mar 30 07:06:47 EDT 2010


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/blackfin/include/asm/common.h |    1 +
 arch/blackfin/lib/board.c          |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/blackfin/include/asm/common.h b/arch/blackfin/include/asm/common.h
index 2ab1954..1ddcd71 100644
--- a/arch/blackfin/include/asm/common.h
+++ b/arch/blackfin/include/asm/common.h
@@ -3,3 +3,4 @@
  * executing an external program
  */
 #define ARCH_HAS_EXECUTE
+#define ARCH_SHUTDOWN
diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c
index 019995b..294d2b0 100644
--- a/arch/blackfin/lib/board.c
+++ b/arch/blackfin/lib/board.c
@@ -54,3 +54,8 @@ int arch_execute(void * address, int argc, char *argv[])
 
 	return ret;
 }
+
+void arch_shutdown(void)
+{
+	icache_disable();
+}
-- 
1.7.0




More information about the barebox mailing list