diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-24 02:24:29 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-11-24 02:24:29 -0500 |
commit | 2a85927c79634e89b9cd683dd2bae65966d9b216 (patch) | |
tree | 5e922b0f26e4099b6bcad65d2d5ea42e166ff068 /arch/arm/mach-mx3/mach-mx35_3ds.c | |
parent | 3561d43fd289f590fdae672e5eb831b8d5cf0bf6 (diff) | |
parent | 124bf94a9f9b52341562628cd56b252e7d820ee8 (diff) |
Merge branch 'imx-for-2.6.38' of git://git.pengutronix.de/git/ukl/linux-2.6 into imx-for-2.6.38
Diffstat (limited to 'arch/arm/mach-mx3/mach-mx35_3ds.c')
-rw-r--r-- | arch/arm/mach-mx3/mach-mx35_3ds.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c index b66a75aa2e88..7e73153b2b6b 100644 --- a/arch/arm/mach-mx3/mach-mx35_3ds.c +++ b/arch/arm/mach-mx3/mach-mx35_3ds.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/platform_device.h> | 26 | #include <linux/platform_device.h> |
27 | #include <linux/memory.h> | 27 | #include <linux/memory.h> |
28 | #include <linux/gpio.h> | 28 | #include <linux/gpio.h> |
29 | #include <linux/fsl_devices.h> | ||
30 | 29 | ||
31 | #include <linux/mtd/physmap.h> | 30 | #include <linux/mtd/physmap.h> |
32 | 31 | ||
@@ -40,7 +39,6 @@ | |||
40 | #include <mach/iomux-mx35.h> | 39 | #include <mach/iomux-mx35.h> |
41 | #include <mach/irqs.h> | 40 | #include <mach/irqs.h> |
42 | #include <mach/3ds_debugboard.h> | 41 | #include <mach/3ds_debugboard.h> |
43 | #include <mach/mxc_ehci.h> | ||
44 | 42 | ||
45 | #include "devices-imx35.h" | 43 | #include "devices-imx35.h" |
46 | #include "devices.h" | 44 | #include "devices.h" |
@@ -122,13 +120,13 @@ static struct pad_desc mx35pdk_pads[] = { | |||
122 | }; | 120 | }; |
123 | 121 | ||
124 | /* OTG config */ | 122 | /* OTG config */ |
125 | static struct fsl_usb2_platform_data usb_otg_pdata = { | 123 | static const struct fsl_usb2_platform_data usb_otg_pdata __initconst = { |
126 | .operating_mode = FSL_USB2_DR_DEVICE, | 124 | .operating_mode = FSL_USB2_DR_DEVICE, |
127 | .phy_mode = FSL_USB2_PHY_UTMI_WIDE, | 125 | .phy_mode = FSL_USB2_PHY_UTMI_WIDE, |
128 | }; | 126 | }; |
129 | 127 | ||
130 | /* USB HOST config */ | 128 | /* USB HOST config */ |
131 | static struct mxc_usbh_platform_data usb_host_pdata = { | 129 | static const struct mxc_usbh_platform_data usb_host_pdata __initconst = { |
132 | .portsc = MXC_EHCI_MODE_SERIAL, | 130 | .portsc = MXC_EHCI_MODE_SERIAL, |
133 | .flags = MXC_EHCI_INTERFACE_SINGLE_UNI | | 131 | .flags = MXC_EHCI_INTERFACE_SINGLE_UNI | |
134 | MXC_EHCI_INTERNAL_PHY, | 132 | MXC_EHCI_INTERNAL_PHY, |
@@ -142,16 +140,17 @@ static void __init mxc_board_init(void) | |||
142 | mxc_iomux_v3_setup_multiple_pads(mx35pdk_pads, ARRAY_SIZE(mx35pdk_pads)); | 140 | mxc_iomux_v3_setup_multiple_pads(mx35pdk_pads, ARRAY_SIZE(mx35pdk_pads)); |
143 | 141 | ||
144 | imx35_add_fec(NULL); | 142 | imx35_add_fec(NULL); |
143 | imx35_add_imx2_wdt(NULL); | ||
145 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 144 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
146 | 145 | ||
147 | imx35_add_imx_uart0(&uart_pdata); | 146 | imx35_add_imx_uart0(&uart_pdata); |
148 | 147 | ||
149 | mxc_register_device(&mxc_otg_udc_device, &usb_otg_pdata); | 148 | imx35_add_fsl_usb2_udc(&usb_otg_pdata); |
150 | 149 | ||
151 | mxc_register_device(&mxc_usbh1, &usb_host_pdata); | 150 | imx35_add_mxc_ehci_hs(&usb_host_pdata); |
152 | 151 | ||
153 | imx35_add_mxc_nand(&mx35pdk_nand_board_info); | 152 | imx35_add_mxc_nand(&mx35pdk_nand_board_info); |
154 | imx35_add_esdhc(0, NULL); | 153 | imx35_add_sdhci_esdhc_imx(0, NULL); |
155 | 154 | ||
156 | if (mxc_expio_init(MX35_CS5_BASE_ADDR, EXPIO_PARENT_INT)) | 155 | if (mxc_expio_init(MX35_CS5_BASE_ADDR, EXPIO_PARENT_INT)) |
157 | pr_warn("Init of the debugboard failed, all " | 156 | pr_warn("Init of the debugboard failed, all " |