ARM: Orion: mbus_dram_info consolidation
Move the *_mbus_dram_info structure into the orion platform and call it orion_mbus_dram_info everywhere. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Michael Walle <michael@walle.cc> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
This commit is contained in:

committed by
Nicolas Pitre

parent
b6d1c33a31
commit
45173d5ed4
@@ -30,6 +30,7 @@
|
||||
#include <linux/irq.h>
|
||||
#include <plat/time.h>
|
||||
#include <plat/common.h>
|
||||
#include <plat/addr-map.h>
|
||||
#include "common.h"
|
||||
|
||||
static int get_tclk(void);
|
||||
@@ -71,7 +72,7 @@ void __init dove_map_io(void)
|
||||
****************************************************************************/
|
||||
void __init dove_ehci0_init(void)
|
||||
{
|
||||
orion_ehci_init(&dove_mbus_dram_info,
|
||||
orion_ehci_init(&orion_mbus_dram_info,
|
||||
DOVE_USB0_PHYS_BASE, IRQ_DOVE_USB0);
|
||||
}
|
||||
|
||||
@@ -80,7 +81,7 @@ void __init dove_ehci0_init(void)
|
||||
****************************************************************************/
|
||||
void __init dove_ehci1_init(void)
|
||||
{
|
||||
orion_ehci_1_init(&dove_mbus_dram_info,
|
||||
orion_ehci_1_init(&orion_mbus_dram_info,
|
||||
DOVE_USB1_PHYS_BASE, IRQ_DOVE_USB1);
|
||||
}
|
||||
|
||||
@@ -89,7 +90,7 @@ void __init dove_ehci1_init(void)
|
||||
****************************************************************************/
|
||||
void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data)
|
||||
{
|
||||
orion_ge00_init(eth_data, &dove_mbus_dram_info,
|
||||
orion_ge00_init(eth_data, &orion_mbus_dram_info,
|
||||
DOVE_GE00_PHYS_BASE, IRQ_DOVE_GE00_SUM,
|
||||
0, get_tclk());
|
||||
}
|
||||
@@ -107,7 +108,7 @@ void __init dove_rtc_init(void)
|
||||
****************************************************************************/
|
||||
void __init dove_sata_init(struct mv_sata_platform_data *sata_data)
|
||||
{
|
||||
orion_sata_init(sata_data, &dove_mbus_dram_info,
|
||||
orion_sata_init(sata_data, &orion_mbus_dram_info,
|
||||
DOVE_SATA_PHYS_BASE, IRQ_DOVE_SATA);
|
||||
|
||||
}
|
||||
@@ -198,7 +199,7 @@ struct sys_timer dove_timer = {
|
||||
****************************************************************************/
|
||||
void __init dove_xor0_init(void)
|
||||
{
|
||||
orion_xor0_init(&dove_mbus_dram_info,
|
||||
orion_xor0_init(&orion_mbus_dram_info,
|
||||
DOVE_XOR0_PHYS_BASE, DOVE_XOR0_HIGH_PHYS_BASE,
|
||||
IRQ_DOVE_XOR_00, IRQ_DOVE_XOR_01);
|
||||
}
|
||||
|
Reference in New Issue
Block a user