2323#include <plat/orion_nand.h>
2424#include <plat/time.h>
2525#include <plat/common.h>
26+ #include <plat/addr-map.h>
2627#include "common.h"
2728
2829static int get_tclk (void );
@@ -169,7 +170,7 @@ void __init mv78xx0_map_io(void)
169170 ****************************************************************************/
170171void __init mv78xx0_ehci0_init (void )
171172{
172- orion_ehci_init (& mv78xx0_mbus_dram_info ,
173+ orion_ehci_init (& orion_mbus_dram_info ,
173174 USB0_PHYS_BASE , IRQ_MV78XX0_USB_0 );
174175}
175176
@@ -179,7 +180,7 @@ void __init mv78xx0_ehci0_init(void)
179180 ****************************************************************************/
180181void __init mv78xx0_ehci1_init (void )
181182{
182- orion_ehci_1_init (& mv78xx0_mbus_dram_info ,
183+ orion_ehci_1_init (& orion_mbus_dram_info ,
183184 USB1_PHYS_BASE , IRQ_MV78XX0_USB_1 );
184185}
185186
@@ -189,7 +190,7 @@ void __init mv78xx0_ehci1_init(void)
189190 ****************************************************************************/
190191void __init mv78xx0_ehci2_init (void )
191192{
192- orion_ehci_2_init (& mv78xx0_mbus_dram_info ,
193+ orion_ehci_2_init (& orion_mbus_dram_info ,
193194 USB2_PHYS_BASE , IRQ_MV78XX0_USB_2 );
194195}
195196
@@ -199,7 +200,7 @@ void __init mv78xx0_ehci2_init(void)
199200 ****************************************************************************/
200201void __init mv78xx0_ge00_init (struct mv643xx_eth_platform_data * eth_data )
201202{
202- orion_ge00_init (eth_data , & mv78xx0_mbus_dram_info ,
203+ orion_ge00_init (eth_data , & orion_mbus_dram_info ,
203204 GE00_PHYS_BASE , IRQ_MV78XX0_GE00_SUM ,
204205 IRQ_MV78XX0_GE_ERR , get_tclk ());
205206}
@@ -210,7 +211,7 @@ void __init mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data)
210211 ****************************************************************************/
211212void __init mv78xx0_ge01_init (struct mv643xx_eth_platform_data * eth_data )
212213{
213- orion_ge01_init (eth_data , & mv78xx0_mbus_dram_info ,
214+ orion_ge01_init (eth_data , & orion_mbus_dram_info ,
214215 GE01_PHYS_BASE , IRQ_MV78XX0_GE01_SUM ,
215216 NO_IRQ , get_tclk ());
216217}
@@ -234,7 +235,7 @@ void __init mv78xx0_ge10_init(struct mv643xx_eth_platform_data *eth_data)
234235 eth_data -> duplex = DUPLEX_FULL ;
235236 }
236237
237- orion_ge10_init (eth_data , & mv78xx0_mbus_dram_info ,
238+ orion_ge10_init (eth_data , & orion_mbus_dram_info ,
238239 GE10_PHYS_BASE , IRQ_MV78XX0_GE10_SUM ,
239240 NO_IRQ , get_tclk ());
240241}
@@ -258,7 +259,7 @@ void __init mv78xx0_ge11_init(struct mv643xx_eth_platform_data *eth_data)
258259 eth_data -> duplex = DUPLEX_FULL ;
259260 }
260261
261- orion_ge11_init (eth_data , & mv78xx0_mbus_dram_info ,
262+ orion_ge11_init (eth_data , & orion_mbus_dram_info ,
262263 GE11_PHYS_BASE , IRQ_MV78XX0_GE11_SUM ,
263264 NO_IRQ , get_tclk ());
264265}
@@ -277,7 +278,7 @@ void __init mv78xx0_i2c_init(void)
277278 ****************************************************************************/
278279void __init mv78xx0_sata_init (struct mv_sata_platform_data * sata_data )
279280{
280- orion_sata_init (sata_data , & mv78xx0_mbus_dram_info ,
281+ orion_sata_init (sata_data , & orion_mbus_dram_info ,
281282 SATA_PHYS_BASE , IRQ_MV78XX0_SATA );
282283}
283284
0 commit comments