summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuotao Fu <l.fu@pengutronix.de>2009-06-23 11:37:56 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-07-01 09:17:28 +0200
commitca46ef4afcaaafa50e4c5dfc239f9aa880aa7146 (patch)
treeaa7a4b83ba3a24a1b3f05781f57aaae1bc3ac5cc
parent726d8a748e45275a0f9fe1e205bb147be3fb67ba (diff)
downloadlinux-2.6-ca46ef4afcaaafa50e4c5dfc239f9aa880aa7146.tar.gz
linux-2.6-ca46ef4afcaaafa50e4c5dfc239f9aa880aa7146.tar.xz
(re)enable ehci support on pca100
add ehci platform device registration and select ulpi Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
-rw-r--r--arch/arm/mach-mx2/Kconfig1
-rw-r--r--arch/arm/mach-mx2/pca100.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mx2/Kconfig b/arch/arm/mach-mx2/Kconfig
index 981cc59b991..0c6e90e72d3 100644
--- a/arch/arm/mach-mx2/Kconfig
+++ b/arch/arm/mach-mx2/Kconfig
@@ -42,6 +42,7 @@ config MACH_PCM038
config MACH_PCA100
bool "Phytec phyCard-i.MX27 CPU module (pca100)"
depends on MACH_MX27
+ select MXC_ULPI
help
Include support for phyCard-i.MX27 (aka pca100) platform. This
includes specific configurations for the module and its peripherals.
diff --git a/arch/arm/mach-mx2/pca100.c b/arch/arm/mach-mx2/pca100.c
index e6d7e7a7bcd..043d8e97b39 100644
--- a/arch/arm/mach-mx2/pca100.c
+++ b/arch/arm/mach-mx2/pca100.c
@@ -351,7 +351,7 @@ static void __init pca100_init(void)
ARRAY_SIZE(pca100_i2c_devices));
mxc_register_device(&mxc_i2c_device1, &pca100_i2c_1_data);
-// mxc_register_device(&mxc_ehci2, &ehci2_pdata);
+ mxc_register_device(&mxc_ehci2, &ehci2_pdata);
mxc_gpio_mode(GPIO_PORTD | 28 | GPIO_GPIO | GPIO_OUT);
mxc_gpio_mode(GPIO_PORTD | 27 | GPIO_GPIO | GPIO_OUT);