Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189829
b: refs/heads/master
c: 9823f1a
h: refs/heads/master
i:
  189827: cee87b6
v: v3
  • Loading branch information
Anders Larsen authored and Russell King committed Apr 9, 2010
1 parent 8624789 commit c68afea
Show file tree
Hide file tree
Showing 2 changed files with 13 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: bb3c9d4f851d51bb6302ef0df830dcec88d7c529
refs/heads/master: 9823f1a8463fb631fe965110fe19adeb3df239c4
12 changes: 12 additions & 0 deletions trunk/arch/arm/mach-at91/pm_slowclock.S
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,25 @@ ENTRY(at91_slow_clock)
ldr r3, .saved_pllbr
str r3, [r1, #(AT91_CKGR_PLLBR - AT91_PMC)]

tst r3, #(AT91_PMC_MUL & 0xff0000)
bne 1f
tst r3, #(AT91_PMC_MUL & ~0xff0000)
beq 2f
1:
wait_pllblock
2:

/* Restore PLLA setting */
ldr r3, .saved_pllar
str r3, [r1, #(AT91_CKGR_PLLAR - AT91_PMC)]

tst r3, #(AT91_PMC_MUL & 0xff0000)
bne 3f
tst r3, #(AT91_PMC_MUL & ~0xff0000)
beq 4f
3:
wait_pllalock
4:

#ifdef SLOWDOWN_MASTER_CLOCK
/*
Expand Down

0 comments on commit c68afea

Please sign in to comment.