aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx2/mach-pcm038.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx2/mach-pcm038.c')
-rw-r--r--arch/arm/mach-mx2/mach-pcm038.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-mx2/mach-pcm038.c b/arch/arm/mach-mx2/mach-pcm038.c
index a2e2ea16c13..9636bb82f1e 100644
--- a/arch/arm/mach-mx2/mach-pcm038.c
+++ b/arch/arm/mach-mx2/mach-pcm038.c
@@ -173,9 +173,7 @@ static struct platform_device *platform_devices[] __initdata = {
* setup other stuffs to access the sram. */
static void __init pcm038_init_sram(void)
{
- __raw_writel(0x0000d843, CSCR_U(1));
- __raw_writel(0x22252521, CSCR_L(1));
- __raw_writel(0x22220a00, CSCR_A(1));
+ mx27_setup_weimcs(1, 0x0000d843, 0x22252521, 0x22220a00);
}
static struct imxi2c_platform_data pcm038_i2c_1_data = {