aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-stmp3xxx/core.c
diff options
context:
space:
mode:
authordmitry pervushin <dpervushin@embeddedalley.com>2009-05-31 13:32:11 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-05-31 13:55:56 +0100
commit98f420b23a62e0c9df78c5851860d47bf1bc87dd (patch)
treeb7e88059454d2410b1a2107c17a748a03d366fdf /arch/arm/plat-stmp3xxx/core.c
parent[ARM] 5531/1: Freescale STMP: get rid of HW_zzz macros [2/3] (diff)
downloadlinux-dev-98f420b23a62e0c9df78c5851860d47bf1bc87dd.tar.xz
linux-dev-98f420b23a62e0c9df78c5851860d47bf1bc87dd.zip
[ARM] 5532/1: Freescale STMP: register definitions [3/3]
Replace HW_zzz register access macros by regular __raw_readl/__raw_writel calls Signed-off-by: dmitry pervushin <dpervushin@embeddedalley.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-stmp3xxx/core.c')
-rw-r--r--arch/arm/plat-stmp3xxx/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-stmp3xxx/core.c b/arch/arm/plat-stmp3xxx/core.c
index 6e2fef1639b0..37b8a09148a4 100644
--- a/arch/arm/plat-stmp3xxx/core.c
+++ b/arch/arm/plat-stmp3xxx/core.c
@@ -20,6 +20,7 @@
#include <linux/io.h>
#include <mach/stmp3xxx.h>
+#include <mach/platform.h>
#include <mach/dma.h>
#include <mach/regs-clkctrl.h>
@@ -121,7 +122,7 @@ struct platform_device stmp3xxx_dbguart = {
void __init stmp3xxx_init(void)
{
/* Turn off auto-slow and other tricks */
- HW_CLKCTRL_HBUS_CLR(0x07f00000U);
+ stmp3xxx_clearl(0x7f00000, REGS_CLKCTRL_BASE + HW_CLKCTRL_HBUS);
stmp3xxx_dma_init();
}