projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08a4593
)
[MIPS] Fix pb1500 reg B access
author
Yoichi Yuasa
<yoichi_yuasa@tripeaks.co.jp>
Mon, 28 May 2007 14:26:56 +0000
(23:26 +0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 26 Jun 2007 17:57:33 +0000
(19:57 +0200)
au_readl() is correct here.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/pb1500/board_setup.c
patch
|
blob
|
history
diff --git
a/arch/mips/au1000/pb1500/board_setup.c
b/arch/mips/au1000/pb1500/board_setup.c
index
0ffdb4f
..
c9b6556
100644
(file)
--- a/
arch/mips/au1000/pb1500/board_setup.c
+++ b/
arch/mips/au1000/pb1500/board_setup.c
@@
-125,7
+125,7
@@
void __init board_setup(void)
au_writel((au_readl(0xac000028) | 0x20), 0xac000028);
}
/* Put the clock in BCD mode */
- if (readl(0xac00002C) & 0x4) { /* reg B */
+ if (
au_
readl(0xac00002C) & 0x4) { /* reg B */
au_writel(au_readl(0xac00002c) & ~0x4, 0xac00002c);
au_sync();
}