aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/configs/mx3_defconfig46
-rw-r--r--arch/arm/mach-imx/mach-kzm_arm11_01.c1
-rw-r--r--arch/arm/mach-imx/mach-pcm038.c4
-rw-r--r--arch/arm/mach-imx/mach-qong.c5
-rw-r--r--arch/arm/mach-mxs/mach-mx23evk.c2
-rw-r--r--arch/arm/mach-mxs/mach-mx28evk.c2
-rw-r--r--arch/arm/mach-mxs/mach-tx28.c2
-rw-r--r--arch/arm/plat-mxc/include/mach/mx27.h14
-rw-r--r--arch/arm/plat-mxc/include/mach/mx31.h14
-rw-r--r--drivers/mmc/host/mxcmmc.c1
10 files changed, 45 insertions, 46 deletions
diff --git a/arch/arm/configs/mx3_defconfig b/arch/arm/configs/mx3_defconfig
index 7c4b30b34952..cb0717fbb03d 100644
--- a/arch/arm/configs/mx3_defconfig
+++ b/arch/arm/configs/mx3_defconfig
@@ -3,7 +3,6 @@ CONFIG_SYSVIPC=y
3CONFIG_IKCONFIG=y 3CONFIG_IKCONFIG=y
4CONFIG_IKCONFIG_PROC=y 4CONFIG_IKCONFIG_PROC=y
5CONFIG_LOG_BUF_SHIFT=14 5CONFIG_LOG_BUF_SHIFT=14
6CONFIG_SYSFS_DEPRECATED_V2=y
7CONFIG_EXPERT=y 6CONFIG_EXPERT=y
8CONFIG_SLAB=y 7CONFIG_SLAB=y
9CONFIG_MODULES=y 8CONFIG_MODULES=y
@@ -13,20 +12,21 @@ CONFIG_MODVERSIONS=y
13# CONFIG_BLK_DEV_BSG is not set 12# CONFIG_BLK_DEV_BSG is not set
14CONFIG_ARCH_MXC=y 13CONFIG_ARCH_MXC=y
15CONFIG_MACH_MX31ADS_WM1133_EV1=y 14CONFIG_MACH_MX31ADS_WM1133_EV1=y
15CONFIG_MACH_MX31LILLY=y
16CONFIG_MACH_MX31LITE=y
16CONFIG_MACH_PCM037=y 17CONFIG_MACH_PCM037=y
17CONFIG_MACH_PCM037_EET=y 18CONFIG_MACH_PCM037_EET=y
18CONFIG_MACH_MX31LITE=y
19CONFIG_MACH_MX31_3DS=y 19CONFIG_MACH_MX31_3DS=y
20CONFIG_MACH_MX31MOBOARD=y 20CONFIG_MACH_MX31MOBOARD=y
21CONFIG_MACH_MX31LILLY=y
22CONFIG_MACH_QONG=y 21CONFIG_MACH_QONG=y
23CONFIG_MACH_PCM043=y
24CONFIG_MACH_ARMADILLO5X0=y 22CONFIG_MACH_ARMADILLO5X0=y
25CONFIG_MACH_MX35_3DS=y
26CONFIG_MACH_KZM_ARM11_01=y 23CONFIG_MACH_KZM_ARM11_01=y
24CONFIG_MACH_PCM043=y
25CONFIG_MACH_MX35_3DS=y
27CONFIG_MACH_EUKREA_CPUIMX35=y 26CONFIG_MACH_EUKREA_CPUIMX35=y
28CONFIG_MXC_IRQ_PRIOR=y 27CONFIG_MXC_IRQ_PRIOR=y
29CONFIG_MXC_PWM=y 28CONFIG_MXC_PWM=y
29CONFIG_ARM_ERRATA_411920=y
30CONFIG_NO_HZ=y 30CONFIG_NO_HZ=y
31CONFIG_HIGH_RES_TIMERS=y 31CONFIG_HIGH_RES_TIMERS=y
32CONFIG_PREEMPT=y 32CONFIG_PREEMPT=y
@@ -35,7 +35,6 @@ CONFIG_ZBOOT_ROM_TEXT=0x0
35CONFIG_ZBOOT_ROM_BSS=0x0 35CONFIG_ZBOOT_ROM_BSS=0x0
36CONFIG_CMDLINE="noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 rw ip=off" 36CONFIG_CMDLINE="noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 rw ip=off"
37CONFIG_VFP=y 37CONFIG_VFP=y
38CONFIG_PM=y
39CONFIG_PM_DEBUG=y 38CONFIG_PM_DEBUG=y
40CONFIG_NET=y 39CONFIG_NET=y
41CONFIG_PACKET=y 40CONFIG_PACKET=y
@@ -52,7 +51,6 @@ CONFIG_IP_PNP_DHCP=y
52CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 51CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
53CONFIG_FW_LOADER=m 52CONFIG_FW_LOADER=m
54CONFIG_MTD=y 53CONFIG_MTD=y
55CONFIG_MTD_PARTITIONS=y
56CONFIG_MTD_CMDLINE_PARTS=y 54CONFIG_MTD_CMDLINE_PARTS=y
57CONFIG_MTD_CHAR=y 55CONFIG_MTD_CHAR=y
58CONFIG_MTD_BLOCK=y 56CONFIG_MTD_BLOCK=y
@@ -62,24 +60,27 @@ CONFIG_MTD_NAND=y
62CONFIG_MTD_NAND_MXC=y 60CONFIG_MTD_NAND_MXC=y
63CONFIG_MTD_UBI=y 61CONFIG_MTD_UBI=y
64# CONFIG_BLK_DEV is not set 62# CONFIG_BLK_DEV is not set
63CONFIG_MISC_DEVICES=y
65CONFIG_EEPROM_AT24=y 64CONFIG_EEPROM_AT24=y
66CONFIG_NETDEVICES=y 65CONFIG_NETDEVICES=y
67CONFIG_SMSC_PHY=y 66CONFIG_SMSC_PHY=y
68CONFIG_NET_ETHERNET=y 67CONFIG_NET_ETHERNET=y
69CONFIG_SMSC911X=y 68CONFIG_SMSC911X=y
70CONFIG_DNET=y 69CONFIG_DNET=y
71CONFIG_FEC=y
72# CONFIG_NETDEV_1000 is not set 70# CONFIG_NETDEV_1000 is not set
73# CONFIG_NETDEV_10000 is not set 71# CONFIG_NETDEV_10000 is not set
74# CONFIG_INPUT is not set 72# CONFIG_INPUT_MOUSEDEV is not set
73# CONFIG_KEYBOARD_ATKBD is not set
74CONFIG_KEYBOARD_IMX=y
75# CONFIG_INPUT_MOUSE is not set
75# CONFIG_SERIO is not set 76# CONFIG_SERIO is not set
76# CONFIG_VT is not set 77# CONFIG_VT is not set
78# CONFIG_LEGACY_PTYS is not set
77CONFIG_SERIAL_8250=m 79CONFIG_SERIAL_8250=m
78CONFIG_SERIAL_8250_EXTENDED=y 80CONFIG_SERIAL_8250_EXTENDED=y
79CONFIG_SERIAL_8250_SHARE_IRQ=y 81CONFIG_SERIAL_8250_SHARE_IRQ=y
80CONFIG_SERIAL_IMX=y 82CONFIG_SERIAL_IMX=y
81CONFIG_SERIAL_IMX_CONSOLE=y 83CONFIG_SERIAL_IMX_CONSOLE=y
82# CONFIG_LEGACY_PTYS is not set
83# CONFIG_HW_RANDOM is not set 84# CONFIG_HW_RANDOM is not set
84CONFIG_I2C=y 85CONFIG_I2C=y
85CONFIG_I2C_CHARDEV=y 86CONFIG_I2C_CHARDEV=y
@@ -89,12 +90,15 @@ CONFIG_W1=y
89CONFIG_W1_MASTER_MXC=y 90CONFIG_W1_MASTER_MXC=y
90CONFIG_W1_SLAVE_THERM=y 91CONFIG_W1_SLAVE_THERM=y
91# CONFIG_HWMON is not set 92# CONFIG_HWMON is not set
93CONFIG_WATCHDOG=y
94CONFIG_IMX2_WDT=y
92CONFIG_MFD_WM8350_I2C=y 95CONFIG_MFD_WM8350_I2C=y
93CONFIG_REGULATOR=y 96CONFIG_REGULATOR=y
94CONFIG_REGULATOR_WM8350=y 97CONFIG_REGULATOR_WM8350=y
95CONFIG_MEDIA_SUPPORT=y 98CONFIG_MEDIA_SUPPORT=y
96CONFIG_VIDEO_DEV=y 99CONFIG_VIDEO_DEV=y
97# CONFIG_VIDEO_ALLOW_V4L1 is not set 100# CONFIG_RC_CORE is not set
101# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
98CONFIG_SOC_CAMERA=y 102CONFIG_SOC_CAMERA=y
99CONFIG_SOC_CAMERA_MT9M001=y 103CONFIG_SOC_CAMERA_MT9M001=y
100CONFIG_SOC_CAMERA_MT9M111=y 104CONFIG_SOC_CAMERA_MT9M111=y
@@ -105,9 +109,26 @@ CONFIG_SOC_CAMERA_OV772X=y
105CONFIG_VIDEO_MX3=y 109CONFIG_VIDEO_MX3=y
106# CONFIG_RADIO_ADAPTERS is not set 110# CONFIG_RADIO_ADAPTERS is not set
107CONFIG_FB=y 111CONFIG_FB=y
108# CONFIG_USB_SUPPORT is not set 112CONFIG_SOUND=y
113CONFIG_SND=y
114# CONFIG_SND_ARM is not set
115# CONFIG_SND_SPI is not set
116CONFIG_SND_SOC=y
117CONFIG_SND_IMX_SOC=y
118CONFIG_SND_MXC_SOC_WM1133_EV1=y
119CONFIG_SND_SOC_PHYCORE_AC97=y
120CONFIG_SND_SOC_EUKREA_TLV320=y
121CONFIG_USB=y
122CONFIG_USB_EHCI_HCD=y
123CONFIG_USB_EHCI_MXC=y
124CONFIG_USB_GADGET=m
125CONFIG_USB_FSL_USB2=m
126CONFIG_USB_G_SERIAL=m
127CONFIG_USB_ULPI=y
109CONFIG_MMC=y 128CONFIG_MMC=y
110CONFIG_MMC_MXC=y 129CONFIG_MMC_MXC=y
130CONFIG_RTC_CLASS=y
131CONFIG_RTC_MXC=y
111CONFIG_DMADEVICES=y 132CONFIG_DMADEVICES=y
112# CONFIG_DNOTIFY is not set 133# CONFIG_DNOTIFY is not set
113CONFIG_TMPFS=y 134CONFIG_TMPFS=y
@@ -119,6 +140,5 @@ CONFIG_NFS_V4=y
119CONFIG_ROOT_NFS=y 140CONFIG_ROOT_NFS=y
120# CONFIG_ENABLE_WARN_DEPRECATED is not set 141# CONFIG_ENABLE_WARN_DEPRECATED is not set
121# CONFIG_ENABLE_MUST_CHECK is not set 142# CONFIG_ENABLE_MUST_CHECK is not set
122# CONFIG_RCU_CPU_STALL_DETECTOR is not set
123CONFIG_SYSCTL_SYSCALL_CHECK=y 143CONFIG_SYSCTL_SYSCALL_CHECK=y
124# CONFIG_CRYPTO_ANSI_CPRNG is not set 144# CONFIG_CRYPTO_ANSI_CPRNG is not set
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. */
177static void __init pcm038_init_sram(void) 177static 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
182static const struct imxi2c_platform_data pcm038_i2c1_data __initconst = { 184static 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 = {
190static void __init qong_init_nand_mtd(void) 190static 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 */
diff --git a/arch/arm/mach-mxs/mach-mx23evk.c b/arch/arm/mach-mxs/mach-mx23evk.c
index 99b01e988c8d..69e218de536e 100644
--- a/arch/arm/mach-mxs/mach-mx23evk.c
+++ b/arch/arm/mach-mxs/mach-mx23evk.c
@@ -181,6 +181,6 @@ MACHINE_START(MX23EVK, "Freescale MX23 EVK")
181 /* Maintainer: Freescale Semiconductor, Inc. */ 181 /* Maintainer: Freescale Semiconductor, Inc. */
182 .map_io = mx23_map_io, 182 .map_io = mx23_map_io,
183 .init_irq = mx23_init_irq, 183 .init_irq = mx23_init_irq,
184 .init_machine = mx23evk_init,
185 .timer = &mx23evk_timer, 184 .timer = &mx23evk_timer,
185 .init_machine = mx23evk_init,
186MACHINE_END 186MACHINE_END
diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c
index 8b3aa7afdae0..0173c3bce4ef 100644
--- a/arch/arm/mach-mxs/mach-mx28evk.c
+++ b/arch/arm/mach-mxs/mach-mx28evk.c
@@ -419,6 +419,6 @@ MACHINE_START(MX28EVK, "Freescale MX28 EVK")
419 /* Maintainer: Freescale Semiconductor, Inc. */ 419 /* Maintainer: Freescale Semiconductor, Inc. */
420 .map_io = mx28_map_io, 420 .map_io = mx28_map_io,
421 .init_irq = mx28_init_irq, 421 .init_irq = mx28_init_irq,
422 .init_machine = mx28evk_init,
423 .timer = &mx28evk_timer, 422 .timer = &mx28evk_timer,
423 .init_machine = mx28evk_init,
424MACHINE_END 424MACHINE_END
diff --git a/arch/arm/mach-mxs/mach-tx28.c b/arch/arm/mach-mxs/mach-tx28.c
index 515a423f82cd..955593806fd2 100644
--- a/arch/arm/mach-mxs/mach-tx28.c
+++ b/arch/arm/mach-mxs/mach-tx28.c
@@ -175,6 +175,6 @@ static struct sys_timer tx28_timer = {
175MACHINE_START(TX28, "Ka-Ro electronics TX28 module") 175MACHINE_START(TX28, "Ka-Ro electronics TX28 module")
176 .map_io = mx28_map_io, 176 .map_io = mx28_map_io,
177 .init_irq = mx28_init_irq, 177 .init_irq = mx28_init_irq,
178 .init_machine = tx28_stk5v3_init,
179 .timer = &tx28_timer, 178 .timer = &tx28_timer,
179 .init_machine = tx28_stk5v3_init,
180MACHINE_END 180MACHINE_END
diff --git a/arch/arm/plat-mxc/include/mach/mx27.h b/arch/arm/plat-mxc/include/mach/mx27.h
index 1dc1c522601b..6265357284d7 100644
--- a/arch/arm/plat-mxc/include/mach/mx27.h
+++ b/arch/arm/plat-mxc/include/mach/mx27.h
@@ -24,10 +24,6 @@
24#ifndef __MACH_MX27_H__ 24#ifndef __MACH_MX27_H__
25#define __MACH_MX27_H__ 25#define __MACH_MX27_H__
26 26
27#ifndef __ASSEMBLER__
28#include <linux/io.h>
29#endif
30
31#define MX27_AIPI_BASE_ADDR 0x10000000 27#define MX27_AIPI_BASE_ADDR 0x10000000
32#define MX27_AIPI_SIZE SZ_1M 28#define MX27_AIPI_SIZE SZ_1M
33#define MX27_DMA_BASE_ADDR (MX27_AIPI_BASE_ADDR + 0x01000) 29#define MX27_DMA_BASE_ADDR (MX27_AIPI_BASE_ADDR + 0x01000)
@@ -131,16 +127,6 @@
131#define MX27_IO_P2V(x) IMX_IO_P2V(x) 127#define MX27_IO_P2V(x) IMX_IO_P2V(x)
132#define MX27_IO_ADDRESS(x) IOMEM(MX27_IO_P2V(x)) 128#define MX27_IO_ADDRESS(x) IOMEM(MX27_IO_P2V(x))
133 129
134#ifndef __ASSEMBLER__
135static inline void mx27_setup_weimcs(size_t cs,
136 unsigned upper, unsigned lower, unsigned addional)
137{
138 __raw_writel(upper, MX27_IO_ADDRESS(MX27_WEIM_CSCRxU(cs)));
139 __raw_writel(lower, MX27_IO_ADDRESS(MX27_WEIM_CSCRxL(cs)));
140 __raw_writel(addional, MX27_IO_ADDRESS(MX27_WEIM_CSCRxA(cs)));
141}
142#endif
143
144/* fixed interrupt numbers */ 130/* fixed interrupt numbers */
145#define MX27_INT_I2C2 1 131#define MX27_INT_I2C2 1
146#define MX27_INT_GPT6 2 132#define MX27_INT_GPT6 2
diff --git a/arch/arm/plat-mxc/include/mach/mx31.h b/arch/arm/plat-mxc/include/mach/mx31.h
index 79e7fc01bb59..e27619e442c0 100644
--- a/arch/arm/plat-mxc/include/mach/mx31.h
+++ b/arch/arm/plat-mxc/include/mach/mx31.h
@@ -1,10 +1,6 @@
1#ifndef __MACH_MX31_H__ 1#ifndef __MACH_MX31_H__
2#define __MACH_MX31_H__ 2#define __MACH_MX31_H__
3 3
4#ifndef __ASSEMBLER__
5#include <linux/io.h>
6#endif
7
8/* 4/*
9 * IRAM 5 * IRAM
10 */ 6 */
@@ -122,16 +118,6 @@
122#define MX31_IO_P2V(x) IMX_IO_P2V(x) 118#define MX31_IO_P2V(x) IMX_IO_P2V(x)
123#define MX31_IO_ADDRESS(x) IOMEM(MX31_IO_P2V(x)) 119#define MX31_IO_ADDRESS(x) IOMEM(MX31_IO_P2V(x))
124 120
125#ifndef __ASSEMBLER__
126static inline void mx31_setup_weimcs(size_t cs,
127 unsigned upper, unsigned lower, unsigned addional)
128{
129 __raw_writel(upper, MX31_IO_ADDRESS(MX31_WEIM_CSCRxU(cs)));
130 __raw_writel(lower, MX31_IO_ADDRESS(MX31_WEIM_CSCRxL(cs)));
131 __raw_writel(addional, MX31_IO_ADDRESS(MX31_WEIM_CSCRxA(cs)));
132}
133#endif
134
135#define MX31_INT_I2C3 3 121#define MX31_INT_I2C3 3
136#define MX31_INT_I2C2 4 122#define MX31_INT_I2C2 4
137#define MX31_INT_MPEG4_ENCODER 5 123#define MX31_INT_MPEG4_ENCODER 5
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
index 14aa213b00da..6632e38f0d13 100644
--- a/drivers/mmc/host/mxcmmc.c
+++ b/drivers/mmc/host/mxcmmc.c
@@ -40,6 +40,7 @@
40#include <mach/mmc.h> 40#include <mach/mmc.h>
41 41
42#include <mach/dma.h> 42#include <mach/dma.h>
43#include <mach/hardware.h>
43 44
44#define DRIVER_NAME "mxc-mmc" 45#define DRIVER_NAME "mxc-mmc"
45 46