diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-20 12:32:28 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-20 12:32:28 -0400 |
commit | d6bb0f27709b91e674ce1441e2dd5e68620edf14 (patch) | |
tree | 1b79f4894618a8849b06d0f12152e9c35053d94a /arch/arm/mach-imx | |
parent | 2f540738f8d228016c6cd0d3b303896c174ecee3 (diff) | |
parent | 91056a63a7d8dbc817747a22d9a9490463323575 (diff) |
Merge branch 'imx/cleanup' into next/cleanup
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/mach-kzm_arm11_01.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-pcm038.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-qong.c | 5 |
3 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mach-kzm_arm11_01.c b/arch/arm/mach-imx/mach-kzm_arm11_01.c index 7c20e9e58006..4e030ac58847 100644 --- a/arch/arm/mach-imx/mach-kzm_arm11_01.c +++ b/arch/arm/mach-imx/mach-kzm_arm11_01.c | |||
@@ -36,6 +36,7 @@ | |||
36 | 36 | ||
37 | #include <mach/clock.h> | 37 | #include <mach/clock.h> |
38 | #include <mach/common.h> | 38 | #include <mach/common.h> |
39 | #include <mach/hardware.h> | ||
39 | #include <mach/iomux-mx3.h> | 40 | #include <mach/iomux-mx3.h> |
40 | 41 | ||
41 | #include "devices-imx31.h" | 42 | #include "devices-imx31.h" |
diff --git a/arch/arm/mach-imx/mach-pcm038.c b/arch/arm/mach-imx/mach-pcm038.c index 091bcf87e1a0..a497a2997002 100644 --- a/arch/arm/mach-imx/mach-pcm038.c +++ b/arch/arm/mach-imx/mach-pcm038.c | |||
@@ -176,7 +176,9 @@ static struct platform_device *platform_devices[] __initdata = { | |||
176 | * setup other stuffs to access the sram. */ | 176 | * setup other stuffs to access the sram. */ |
177 | static void __init pcm038_init_sram(void) | 177 | static void __init pcm038_init_sram(void) |
178 | { | 178 | { |
179 | mx27_setup_weimcs(1, 0x0000d843, 0x22252521, 0x22220a00); | 179 | __raw_writel(0x0000d843, MX27_IO_ADDRESS(MX27_WEIM_CSCRxU(1))); |
180 | __raw_writel(0x22252521, MX27_IO_ADDRESS(MX27_WEIM_CSCRxL(1))); | ||
181 | __raw_writel(0x22220a00, MX27_IO_ADDRESS(MX27_WEIM_CSCRxA(1))); | ||
180 | } | 182 | } |
181 | 183 | ||
182 | static const struct imxi2c_platform_data pcm038_i2c1_data __initconst = { | 184 | static const struct imxi2c_platform_data pcm038_i2c1_data __initconst = { |
diff --git a/arch/arm/mach-imx/mach-qong.c b/arch/arm/mach-imx/mach-qong.c index 9e11359c324c..c33ab00845f6 100644 --- a/arch/arm/mach-imx/mach-qong.c +++ b/arch/arm/mach-imx/mach-qong.c | |||
@@ -190,7 +190,10 @@ static struct platform_device qong_nand_device = { | |||
190 | static void __init qong_init_nand_mtd(void) | 190 | static void __init qong_init_nand_mtd(void) |
191 | { | 191 | { |
192 | /* init CS */ | 192 | /* init CS */ |
193 | mx31_setup_weimcs(3, 0x00004f00, 0x20013b31, 0x00020800); | 193 | __raw_writel(0x00004f00, MX31_IO_ADDRESS(MX31_WEIM_CSCRxU(3))); |
194 | __raw_writel(0x20013b31, MX31_IO_ADDRESS(MX31_WEIM_CSCRxL(3))); | ||
195 | __raw_writel(0x00020800, MX31_IO_ADDRESS(MX31_WEIM_CSCRxA(3))); | ||
196 | |||
194 | mxc_iomux_set_gpr(MUX_SDCTL_CSD1_SEL, true); | 197 | mxc_iomux_set_gpr(MUX_SDCTL_CSD1_SEL, true); |
195 | 198 | ||
196 | /* enable pin */ | 199 | /* enable pin */ |