|
@@ -789,10 +789,7 @@ void __init orion_xor1_init(unsigned long mapbase_low,
|
|
|
/*****************************************************************************
|
|
|
* EHCI
|
|
|
****************************************************************************/
|
|
|
-static struct orion_ehci_data orion_ehci_data = {
|
|
|
- .phy_version = EHCI_PHY_NA,
|
|
|
-};
|
|
|
-
|
|
|
+static struct orion_ehci_data orion_ehci_data;
|
|
|
static u64 ehci_dmamask = DMA_BIT_MASK(32);
|
|
|
|
|
|
|
|
@@ -812,8 +809,10 @@ static struct platform_device orion_ehci = {
|
|
|
};
|
|
|
|
|
|
void __init orion_ehci_init(unsigned long mapbase,
|
|
|
- unsigned long irq)
|
|
|
+ unsigned long irq,
|
|
|
+ enum orion_ehci_phy_ver phy_version)
|
|
|
{
|
|
|
+ orion_ehci_data.phy_version = phy_version;
|
|
|
fill_resources(&orion_ehci, orion_ehci_resources, mapbase, SZ_4K - 1,
|
|
|
irq);
|
|
|
|