提交 b3a04a6d 编写于 作者: Y Yoichi Yuasa 提交者: Ralf Baechle

[MIPS] Fix pb1500 reg B access

au_readl() is correct here.
Signed-off-by: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 08a45936
...@@ -125,7 +125,7 @@ void __init board_setup(void) ...@@ -125,7 +125,7 @@ void __init board_setup(void)
au_writel((au_readl(0xac000028) | 0x20), 0xac000028); au_writel((au_readl(0xac000028) | 0x20), 0xac000028);
} }
/* Put the clock in BCD mode */ /* 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_writel(au_readl(0xac00002c) & ~0x4, 0xac00002c);
au_sync(); au_sync();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册