Thread (2 messages) 2 messages, 2 authors, 2007-05-31

[PATCH][MIPS] fix pb1500 reg B access

From: Yoichi Yuasa <hidden>
Date: 2007-05-28 14:27:08

Hi Ralf,

I think that au_readl() is correct here.

Yoichi

Signed-off-by: Yoichi Yuasa <redacted>

diff -pruN -X generic/Documentation/dontdiff generic-orig/arch/mips/au1000/pb1500/board_setup.c generic/arch/mips/au1000/pb1500/board_setup.c
--- generic-orig/arch/mips/au1000/pb1500/board_setup.c	2007-03-23 11:00:22.474631250 +0900
+++ generic/arch/mips/au1000/pb1500/board_setup.c	2007-03-23 17:09:27.070322250 +0900
@@ -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();
 	}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help