diff mbox

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

Message ID 1344326875-348-9-git-send-email-lliubbo@gmail.com
State Superseded
Delegated to: Mike Frysinger
Headers show

Commit Message

Bob Liu Aug. 7, 2012, 8:07 a.m. UTC
Signed-off-by: Bob Liu <lliubbo@gmail.com>
---
 arch/blackfin/cpu/reset.c |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Mike Frysinger Aug. 8, 2012, 5:05 a.m. UTC | #1
please squash into one of the "initial bf60x cpu support" patches
-mike
Bob Liu Aug. 20, 2012, 8:13 a.m. UTC | #2
On Wed, Aug 8, 2012 at 1:05 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> please squash into one of the "initial bf60x cpu support" patches
> -mike

Okay.
diff mbox

Patch

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