9
0
Fork 0

ARM OMAP: Apply EHCI device register functions

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Teresa Gámez 2012-12-20 15:22:33 +01:00 committed by Sascha Hauer
parent 80757c2d51
commit 8eb8f4f77e
2 changed files with 2 additions and 4 deletions

View File

@ -293,8 +293,7 @@ static int beagle_devices_init(void)
#ifdef CONFIG_USB_EHCI_OMAP
if (ehci_omap_init(&omap_ehci_pdata) >= 0)
add_usb_ehci_device(DEVICE_ID_DYNAMIC, OMAP3_EHCI_BASE,
OMAP3_EHCI_BASE + 0x10, &ehci_pdata);
omap3_add_ehci(&ehci_pdata);
#endif /* CONFIG_USB_EHCI_OMAP */
#ifdef CONFIG_OMAP_GPMC
/* WP is made high and WAIT1 active Low */

View File

@ -86,8 +86,7 @@ static void panda_ehci_init(void)
/* enable power to hub */
gpio_set_value(GPIO_HUB_POWER, 1);
add_usb_ehci_device(DEVICE_ID_DYNAMIC, 0x4a064c00,
0x4a064c00 + 0x10, &ehci_pdata);
omap44xx_add_ehci(&ehci_pdata);
}
#else
static void panda_ehci_init(void)