diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-03 12:33:01 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-11 10:34:17 +0300 |
commit | cb07625d1f84fb48e6849cb530762ffcc6f8e458 (patch) | |
tree | e3eecfdc41e5ee5236c339303d8705938a490fae /arch/arm/plat-mxc/include/mach/mxc_ehci.h | |
parent | f19693a17c6705e197eb24d4618060eaac1b535c (diff) | |
download | linux-cb07625d1f84fb48e6849cb530762ffcc6f8e458.tar.xz |
ARM i.MX ehci: factor out soc specific functions
Currently we have a mxc_initialize_usb_hw which is called on every
i.MX SoC. This function dispatches the different SoC types, which
is quite ugly. This patch moves the SoC specific USB initialization
to their correspondive mach directories.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mxc_ehci.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mxc_ehci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc_ehci.h b/arch/arm/plat-mxc/include/mach/mxc_ehci.h index a523a4079299..7e555a1f4a4a 100644 --- a/arch/arm/plat-mxc/include/mach/mxc_ehci.h +++ b/arch/arm/plat-mxc/include/mach/mxc_ehci.h @@ -50,5 +50,11 @@ struct mxc_usbh_platform_data { int mxc_initialize_usb_hw(int port, unsigned int flags); +int mx51_initialize_usb_hw(int port, unsigned int flags); +int mx25_initialize_usb_hw(int port, unsigned int flags); +int mx31_initialize_usb_hw(int port, unsigned int flags); +int mx35_initialize_usb_hw(int port, unsigned int flags); +int mx27_initialize_usb_hw(int port, unsigned int flags); + #endif /* __INCLUDE_ASM_ARCH_MXC_EHCI_H */ |