summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-28 17:54:08 +0200
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-28 17:54:08 +0200
commit28391717d01634a2c096d1b20365f9db5ccbf9a7 (patch)
tree97964cc573fab5cdbd027868cafb46b05c696bc5 /arch
parent692765f31395032b73af6fed6c2507b68b492aae (diff)
ccwmx51: USB device and host support.
USB device support only through the "USB OTG" mini AB connector, and USB hos tonly support through the "USB HOST" connector. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx5/mx51_ccwmx51js.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/mx51_ccwmx51js.c b/arch/arm/mach-mx5/mx51_ccwmx51js.c
index 34f81f7a9280..92c721297dfc 100644
--- a/arch/arm/mach-mx5/mx51_ccwmx51js.c
+++ b/arch/arm/mach-mx5/mx51_ccwmx51js.c
@@ -50,6 +50,7 @@
#include "devices.h"
#include "mx51_pins.h"
#include "devices_ccwmx51.h"
+#include "usb.h"
extern struct cpu_wp *(*get_cpu_wp)(int *wp);
extern void (*set_num_cpu_wp)(int num);
@@ -275,6 +276,8 @@ static void __init mxc_board_init(void)
#endif
ccwmx51_init_spidevices();
ccwmx51_init_i2c2();
+ mx5_usbh1_init();
+ mx5_usb_dr_init();
#if defined(CONFIG_FB_MXC_SYNC_PANEL) || defined(CONFIG_FB_MXC_SYNC_PANEL_MODULE)
mxc_register_device(&lcd_pdev, plcd_platform_data);
mxc_fb_devices[0].num_resources = ARRAY_SIZE(mxcfb_resources);