aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-ns9xxx/system.h
diff options
context:
space:
mode:
authorUwe Kleine-König <ukleinek@informatik.uni-freiburg.de>2007-09-30 20:36:33 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-10-12 23:43:41 +0100
commit361c7ad607bc0e84ef0fef8c3f11c47b33c06e41 (patch)
treeeb4d73ce8fec23d402ce5da05f3394ada0dbb9ed /include/asm-arm/arch-ns9xxx/system.h
parent[ARM] 4594/1: ns9xxx: use the new gpio functions (diff)
downloadlinux-dev-361c7ad607bc0e84ef0fef8c3f11c47b33c06e41.tar.xz
linux-dev-361c7ad607bc0e84ef0fef8c3f11c47b33c06e41.zip
[ARM] 4595/1: ns9xxx: define registers as void __iomem * instead of volatile u32
As a consequence registers are now accessed with __raw_{read,write}[bl]. Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-ns9xxx/system.h')
-rw-r--r--include/asm-arm/arch-ns9xxx/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/arch-ns9xxx/system.h b/include/asm-arm/arch-ns9xxx/system.h
index e3cd4d31b3f3..c1082bd8977c 100644
--- a/include/asm-arm/arch-ns9xxx/system.h
+++ b/include/asm-arm/arch-ns9xxx/system.h
@@ -24,9 +24,9 @@ static inline void arch_reset(char mode)
{
u32 reg;
- reg = SYS_PLL >> 16;
+ reg = __raw_readl(SYS_PLL) >> 16;
REGSET(reg, SYS_PLL, SWC, YES);
- SYS_PLL = reg;
+ __raw_writel(reg, SYS_PLL);
BUG();
}