diff options
Diffstat (limited to 'arch/arm/mach-dove/common.c')
-rw-r--r-- | arch/arm/mach-dove/common.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c index 13bb236cd0cd..dd1429ae6405 100644 --- a/arch/arm/mach-dove/common.c +++ b/arch/arm/mach-dove/common.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | #include <linux/pci.h> | 15 | #include <linux/pci.h> |
16 | #include <linux/clk.h> | 16 | #include <linux/clk.h> |
17 | #include <linux/mbus.h> | ||
18 | #include <linux/ata_platform.h> | 17 | #include <linux/ata_platform.h> |
19 | #include <linux/gpio.h> | 18 | #include <linux/gpio.h> |
20 | #include <asm/page.h> | 19 | #include <asm/page.h> |
@@ -30,6 +29,7 @@ | |||
30 | #include <linux/irq.h> | 29 | #include <linux/irq.h> |
31 | #include <plat/time.h> | 30 | #include <plat/time.h> |
32 | #include <plat/common.h> | 31 | #include <plat/common.h> |
32 | #include <plat/addr-map.h> | ||
33 | #include "common.h" | 33 | #include "common.h" |
34 | 34 | ||
35 | static int get_tclk(void); | 35 | static int get_tclk(void); |
@@ -71,8 +71,7 @@ void __init dove_map_io(void) | |||
71 | ****************************************************************************/ | 71 | ****************************************************************************/ |
72 | void __init dove_ehci0_init(void) | 72 | void __init dove_ehci0_init(void) |
73 | { | 73 | { |
74 | orion_ehci_init(&dove_mbus_dram_info, | 74 | orion_ehci_init(DOVE_USB0_PHYS_BASE, IRQ_DOVE_USB0); |
75 | DOVE_USB0_PHYS_BASE, IRQ_DOVE_USB0); | ||
76 | } | 75 | } |
77 | 76 | ||
78 | /***************************************************************************** | 77 | /***************************************************************************** |
@@ -80,8 +79,7 @@ void __init dove_ehci0_init(void) | |||
80 | ****************************************************************************/ | 79 | ****************************************************************************/ |
81 | void __init dove_ehci1_init(void) | 80 | void __init dove_ehci1_init(void) |
82 | { | 81 | { |
83 | orion_ehci_1_init(&dove_mbus_dram_info, | 82 | orion_ehci_1_init(DOVE_USB1_PHYS_BASE, IRQ_DOVE_USB1); |
84 | DOVE_USB1_PHYS_BASE, IRQ_DOVE_USB1); | ||
85 | } | 83 | } |
86 | 84 | ||
87 | /***************************************************************************** | 85 | /***************************************************************************** |
@@ -89,7 +87,7 @@ void __init dove_ehci1_init(void) | |||
89 | ****************************************************************************/ | 87 | ****************************************************************************/ |
90 | void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data) | 88 | void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data) |
91 | { | 89 | { |
92 | orion_ge00_init(eth_data, &dove_mbus_dram_info, | 90 | orion_ge00_init(eth_data, |
93 | DOVE_GE00_PHYS_BASE, IRQ_DOVE_GE00_SUM, | 91 | DOVE_GE00_PHYS_BASE, IRQ_DOVE_GE00_SUM, |
94 | 0, get_tclk()); | 92 | 0, get_tclk()); |
95 | } | 93 | } |
@@ -107,8 +105,7 @@ void __init dove_rtc_init(void) | |||
107 | ****************************************************************************/ | 105 | ****************************************************************************/ |
108 | void __init dove_sata_init(struct mv_sata_platform_data *sata_data) | 106 | void __init dove_sata_init(struct mv_sata_platform_data *sata_data) |
109 | { | 107 | { |
110 | orion_sata_init(sata_data, &dove_mbus_dram_info, | 108 | orion_sata_init(sata_data, DOVE_SATA_PHYS_BASE, IRQ_DOVE_SATA); |
111 | DOVE_SATA_PHYS_BASE, IRQ_DOVE_SATA); | ||
112 | 109 | ||
113 | } | 110 | } |
114 | 111 | ||
@@ -198,8 +195,7 @@ struct sys_timer dove_timer = { | |||
198 | ****************************************************************************/ | 195 | ****************************************************************************/ |
199 | void __init dove_xor0_init(void) | 196 | void __init dove_xor0_init(void) |
200 | { | 197 | { |
201 | orion_xor0_init(&dove_mbus_dram_info, | 198 | orion_xor0_init(DOVE_XOR0_PHYS_BASE, DOVE_XOR0_HIGH_PHYS_BASE, |
202 | DOVE_XOR0_PHYS_BASE, DOVE_XOR0_HIGH_PHYS_BASE, | ||
203 | IRQ_DOVE_XOR_00, IRQ_DOVE_XOR_01); | 199 | IRQ_DOVE_XOR_00, IRQ_DOVE_XOR_01); |
204 | } | 200 | } |
205 | 201 | ||