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:
parent
80757c2d51
commit
8eb8f4f77e
|
@ -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 */
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue