[U-Boot] [PATCH 09/16] Blackfin: Bf60x: add reset support

Bob Liu lliubbo at gmail.com
Tue Aug 7 10:07:48 CEST 2012


Signed-off-by: Bob Liu <lliubbo at gmail.com>
---
 arch/blackfin/cpu/reset.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/blackfin/cpu/reset.c b/arch/blackfin/cpu/reset.c
index 33df0fc..b6718d3 100644
--- a/arch/blackfin/cpu/reset.c
+++ b/arch/blackfin/cpu/reset.c
@@ -70,8 +70,12 @@ static void bfin_reset(void)
 #endif
 
 	while (1)
+#if defined(__ADSPBF60x__)
+		bfin_write_RCU0_CTL(0x1);
+#else
 		/* Issue core reset */
 		asm("raise 1");
+#endif
 }
 
 /* We need to trampoline ourselves up into L1 since our linker
-- 
1.7.9.5




More information about the U-Boot mailing list