diff options
Diffstat (limited to 'arch/arm/mach-orion/common.c')
-rw-r--r-- | arch/arm/mach-orion/common.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-orion/common.c b/arch/arm/mach-orion/common.c index cc16588e8c0c..d33c01dfc3f2 100644 --- a/arch/arm/mach-orion/common.c +++ b/arch/arm/mach-orion/common.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
24 | #include <asm/mach/map.h> | 24 | #include <asm/mach/map.h> |
25 | #include <asm/arch/hardware.h> | 25 | #include <asm/arch/hardware.h> |
26 | #include <asm/arch/platform.h> | ||
26 | #include "common.h" | 27 | #include "common.h" |
27 | 28 | ||
28 | /***************************************************************************** | 29 | /***************************************************************************** |
@@ -149,6 +150,10 @@ static struct resource orion_ehci1_resources[] = { | |||
149 | }, | 150 | }, |
150 | }; | 151 | }; |
151 | 152 | ||
153 | static struct orion_ehci_data orion_ehci_data = { | ||
154 | .dram = &orion_mbus_dram_info, | ||
155 | }; | ||
156 | |||
152 | static u64 ehci_dmamask = 0xffffffffUL; | 157 | static u64 ehci_dmamask = 0xffffffffUL; |
153 | 158 | ||
154 | static struct platform_device orion_ehci0 = { | 159 | static struct platform_device orion_ehci0 = { |
@@ -157,6 +162,7 @@ static struct platform_device orion_ehci0 = { | |||
157 | .dev = { | 162 | .dev = { |
158 | .dma_mask = &ehci_dmamask, | 163 | .dma_mask = &ehci_dmamask, |
159 | .coherent_dma_mask = 0xffffffff, | 164 | .coherent_dma_mask = 0xffffffff, |
165 | .platform_data = &orion_ehci_data, | ||
160 | }, | 166 | }, |
161 | .resource = orion_ehci0_resources, | 167 | .resource = orion_ehci0_resources, |
162 | .num_resources = ARRAY_SIZE(orion_ehci0_resources), | 168 | .num_resources = ARRAY_SIZE(orion_ehci0_resources), |
@@ -168,6 +174,7 @@ static struct platform_device orion_ehci1 = { | |||
168 | .dev = { | 174 | .dev = { |
169 | .dma_mask = &ehci_dmamask, | 175 | .dma_mask = &ehci_dmamask, |
170 | .coherent_dma_mask = 0xffffffff, | 176 | .coherent_dma_mask = 0xffffffff, |
177 | .platform_data = &orion_ehci_data, | ||
171 | }, | 178 | }, |
172 | .resource = orion_ehci1_resources, | 179 | .resource = orion_ehci1_resources, |
173 | .num_resources = ARRAY_SIZE(orion_ehci1_resources), | 180 | .num_resources = ARRAY_SIZE(orion_ehci1_resources), |
@@ -334,7 +341,6 @@ void __init orion_init(void) | |||
334 | * Setup Orion address map | 341 | * Setup Orion address map |
335 | */ | 342 | */ |
336 | orion_setup_cpu_wins(); | 343 | orion_setup_cpu_wins(); |
337 | orion_setup_usb_wins(); | ||
338 | orion_setup_eth_wins(); | 344 | orion_setup_eth_wins(); |
339 | if (dev == MV88F5182_DEV_ID) | 345 | if (dev == MV88F5182_DEV_ID) |
340 | orion_setup_sata_wins(); | 346 | orion_setup_sata_wins(); |