diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2007-05-28 10:26:56 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-06-26 13:57:33 -0400 |
commit | b3a04a6d07453664abdf8b36296a640752ad4a70 (patch) | |
tree | 62c24e2602629024c4b8e3f3519d71fba7b96c4d /arch/mips/au1000/pb1500 | |
parent | 08a45936823d0c47db9e328185fdaad6c62d16bd (diff) |
[MIPS] Fix pb1500 reg B access
au_readl() is correct here.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/au1000/pb1500')
-rw-r--r-- | arch/mips/au1000/pb1500/board_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/au1000/pb1500/board_setup.c b/arch/mips/au1000/pb1500/board_setup.c index 0ffdb4fd575b..c9b655616fb3 100644 --- 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) | |||
125 | au_writel((au_readl(0xac000028) | 0x20), 0xac000028); | 125 | au_writel((au_readl(0xac000028) | 0x20), 0xac000028); |
126 | } | 126 | } |
127 | /* Put the clock in BCD mode */ | 127 | /* Put the clock in BCD mode */ |
128 | if (readl(0xac00002C) & 0x4) { /* reg B */ | 128 | if (au_readl(0xac00002C) & 0x4) { /* reg B */ |
129 | au_writel(au_readl(0xac00002c) & ~0x4, 0xac00002c); | 129 | au_writel(au_readl(0xac00002c) & ~0x4, 0xac00002c); |
130 | au_sync(); | 130 | au_sync(); |
131 | } | 131 | } |