Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270170
b: refs/heads/master
c: a26bce1
h: refs/heads/master
v: v3
  • Loading branch information
Will Deacon authored and Russell King committed Oct 8, 2011
1 parent 83860b5 commit 5c3acfa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c825dda905bac330c2da7fabdf5c0ac28758b3cd
refs/heads/master: a26bce1220a4c5a7a074a779e6aad3cae63a94f7
5 changes: 5 additions & 0 deletions trunk/arch/arm/kernel/hw_breakpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,10 @@ static void reset_ctrl_regs(void *unused)
* later on.
*/
switch (debug_arch) {
case ARM_DEBUG_ARCH_V6:
case ARM_DEBUG_ARCH_V6_1:
/* ARMv6 cores just need to reset the registers. */
goto reset_regs;
case ARM_DEBUG_ARCH_V7_ECP14:
/*
* Ensure sticky power-down is clear (i.e. debug logic is
Expand Down Expand Up @@ -931,6 +935,7 @@ static void reset_ctrl_regs(void *unused)
asm volatile("mcr p14, 0, %0, c0, c7, 0" : : "r" (0));
isb();

reset_regs:
if (enable_monitor_mode())
return;

Expand Down

0 comments on commit 5c3acfa

Please sign in to comment.