Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113743
b: refs/heads/master
c: fffe53b
h: refs/heads/master
i:
  113741: c2daca1
  113739: b1c393c
  113735: fc6bca5
  113727: f35b0bc
v: v3
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Oct 8, 2008
1 parent 4f72a37 commit a44abd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c64e0d5109532f8184be29c1dc163059e3ded4b
refs/heads/master: fffe53bee7d90ab2103d2520ab4d095aea9b7397
6 changes: 3 additions & 3 deletions trunk/arch/blackfin/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ void bfin_reset(void)
bfin_write_SWRST(0x7);

/* Due to the way reset is handled in the hardware, we need
* to delay for 7 SCLKS. The only reliable way to do this is
* to calculate the CCLK/SCLK ratio and multiply 7. For now,
* to delay for 10 SCLKS. The only reliable way to do this is
* to calculate the CCLK/SCLK ratio and multiply 10. For now,
* we'll assume worse case which is a 1:15 ratio.
*/
asm(
"LSETUP (1f, 1f) LC0 = %0\n"
"1: nop;"
:
: "a" (15 * 7)
: "a" (15 * 10)
: "LC0", "LB0", "LT0"
);

Expand Down

0 comments on commit a44abd1

Please sign in to comment.