diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-10 15:27:55 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 04:01:36 -0500 |
commit | 2c20b9f19add2248dc867f1f78dcef1eb0944543 (patch) | |
tree | c7b6861e16bc9fb9d4d25cb4c5730e4509af5033 /arch/arm/mach-mx25/devices-imx25.h | |
parent | e9f0bafb4f3d32d0bc0ea7e946d667a68bae59ce (diff) |
ARM: mx25: dynamically allocate mxc-ehci devices
According to the reference manual of the i.MX25 the host controller uses an
offset of 0x200 not 0x400 as was specified in the resources for mxc_usbh2.
Needs-Testing: yes
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx25/devices-imx25.h')
-rw-r--r-- | arch/arm/mach-mx25/devices-imx25.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/devices-imx25.h b/arch/arm/mach-mx25/devices-imx25.h index f62ce93ccbcd..ac343ae7fe43 100644 --- a/arch/arm/mach-mx25/devices-imx25.h +++ b/arch/arm/mach-mx25/devices-imx25.h | |||
@@ -39,6 +39,13 @@ extern const struct imx_imx_uart_1irq_data imx25_imx_uart_data[] __initconst; | |||
39 | #define imx25_add_imx_uart3(pdata) imx25_add_imx_uart(3, pdata) | 39 | #define imx25_add_imx_uart3(pdata) imx25_add_imx_uart(3, pdata) |
40 | #define imx25_add_imx_uart4(pdata) imx25_add_imx_uart(4, pdata) | 40 | #define imx25_add_imx_uart4(pdata) imx25_add_imx_uart(4, pdata) |
41 | 41 | ||
42 | extern const struct imx_mxc_ehci_data imx25_mxc_ehci_otg_data __initconst; | ||
43 | #define imx25_add_mxc_ehci_otg(pdata) \ | ||
44 | imx_add_mxc_ehci(&imx25_mxc_ehci_otg_data, pdata) | ||
45 | extern const struct imx_mxc_ehci_data imx25_mxc_ehci_hs_data __initconst; | ||
46 | #define imx25_add_mxc_ehci_hs(pdata) \ | ||
47 | imx_add_mxc_ehci(&imx25_mxc_ehci_hs_data, pdata) | ||
48 | |||
42 | extern const struct imx_mxc_nand_data imx25_mxc_nand_data __initconst; | 49 | extern const struct imx_mxc_nand_data imx25_mxc_nand_data __initconst; |
43 | #define imx25_add_mxc_nand(pdata) \ | 50 | #define imx25_add_mxc_nand(pdata) \ |
44 | imx_add_mxc_nand(&imx25_mxc_nand_data, pdata) | 51 | imx_add_mxc_nand(&imx25_mxc_nand_data, pdata) |