ARM: Orion: Remove address map info from all platform data structures
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
63a9332b23
commit
db33f4de99
@@ -12,7 +12,6 @@
|
||||
#include <linux/init.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/serial_8250.h>
|
||||
#include <linux/mbus.h>
|
||||
#include <linux/ata_platform.h>
|
||||
#include <linux/ethtool.h>
|
||||
#include <asm/mach/map.h>
|
||||
@@ -170,8 +169,7 @@ void __init mv78xx0_map_io(void)
|
||||
****************************************************************************/
|
||||
void __init mv78xx0_ehci0_init(void)
|
||||
{
|
||||
orion_ehci_init(&orion_mbus_dram_info,
|
||||
USB0_PHYS_BASE, IRQ_MV78XX0_USB_0);
|
||||
orion_ehci_init(USB0_PHYS_BASE, IRQ_MV78XX0_USB_0);
|
||||
}
|
||||
|
||||
|
||||
@@ -180,8 +178,7 @@ void __init mv78xx0_ehci0_init(void)
|
||||
****************************************************************************/
|
||||
void __init mv78xx0_ehci1_init(void)
|
||||
{
|
||||
orion_ehci_1_init(&orion_mbus_dram_info,
|
||||
USB1_PHYS_BASE, IRQ_MV78XX0_USB_1);
|
||||
orion_ehci_1_init(USB1_PHYS_BASE, IRQ_MV78XX0_USB_1);
|
||||
}
|
||||
|
||||
|
||||
@@ -190,8 +187,7 @@ void __init mv78xx0_ehci1_init(void)
|
||||
****************************************************************************/
|
||||
void __init mv78xx0_ehci2_init(void)
|
||||
{
|
||||
orion_ehci_2_init(&orion_mbus_dram_info,
|
||||
USB2_PHYS_BASE, IRQ_MV78XX0_USB_2);
|
||||
orion_ehci_2_init(USB2_PHYS_BASE, IRQ_MV78XX0_USB_2);
|
||||
}
|
||||
|
||||
|
||||
@@ -200,7 +196,7 @@ void __init mv78xx0_ehci2_init(void)
|
||||
****************************************************************************/
|
||||
void __init mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data)
|
||||
{
|
||||
orion_ge00_init(eth_data, &orion_mbus_dram_info,
|
||||
orion_ge00_init(eth_data,
|
||||
GE00_PHYS_BASE, IRQ_MV78XX0_GE00_SUM,
|
||||
IRQ_MV78XX0_GE_ERR, get_tclk());
|
||||
}
|
||||
@@ -211,7 +207,7 @@ void __init mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data)
|
||||
****************************************************************************/
|
||||
void __init mv78xx0_ge01_init(struct mv643xx_eth_platform_data *eth_data)
|
||||
{
|
||||
orion_ge01_init(eth_data, &orion_mbus_dram_info,
|
||||
orion_ge01_init(eth_data,
|
||||
GE01_PHYS_BASE, IRQ_MV78XX0_GE01_SUM,
|
||||
NO_IRQ, get_tclk());
|
||||
}
|
||||
@@ -235,7 +231,7 @@ void __init mv78xx0_ge10_init(struct mv643xx_eth_platform_data *eth_data)
|
||||
eth_data->duplex = DUPLEX_FULL;
|
||||
}
|
||||
|
||||
orion_ge10_init(eth_data, &orion_mbus_dram_info,
|
||||
orion_ge10_init(eth_data,
|
||||
GE10_PHYS_BASE, IRQ_MV78XX0_GE10_SUM,
|
||||
NO_IRQ, get_tclk());
|
||||
}
|
||||
@@ -259,7 +255,7 @@ void __init mv78xx0_ge11_init(struct mv643xx_eth_platform_data *eth_data)
|
||||
eth_data->duplex = DUPLEX_FULL;
|
||||
}
|
||||
|
||||
orion_ge11_init(eth_data, &orion_mbus_dram_info,
|
||||
orion_ge11_init(eth_data,
|
||||
GE11_PHYS_BASE, IRQ_MV78XX0_GE11_SUM,
|
||||
NO_IRQ, get_tclk());
|
||||
}
|
||||
@@ -278,8 +274,7 @@ void __init mv78xx0_i2c_init(void)
|
||||
****************************************************************************/
|
||||
void __init mv78xx0_sata_init(struct mv_sata_platform_data *sata_data)
|
||||
{
|
||||
orion_sata_init(sata_data, &orion_mbus_dram_info,
|
||||
SATA_PHYS_BASE, IRQ_MV78XX0_SATA);
|
||||
orion_sata_init(sata_data, SATA_PHYS_BASE, IRQ_MV78XX0_SATA);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user