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:
@@ -15,7 +15,6 @@
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/serial_8250.h>
|
||||
#include <linux/mbus.h>
|
||||
#include <linux/mv643xx_i2c.h>
|
||||
#include <linux/ata_platform.h>
|
||||
#include <net/dsa.h>
|
||||
@@ -72,8 +71,7 @@ void __init orion5x_map_io(void)
|
||||
****************************************************************************/
|
||||
void __init orion5x_ehci0_init(void)
|
||||
{
|
||||
orion_ehci_init(&orion_mbus_dram_info,
|
||||
ORION5X_USB0_PHYS_BASE, IRQ_ORION5X_USB0_CTRL);
|
||||
orion_ehci_init(ORION5X_USB0_PHYS_BASE, IRQ_ORION5X_USB0_CTRL);
|
||||
}
|
||||
|
||||
|
||||
@@ -82,8 +80,7 @@ void __init orion5x_ehci0_init(void)
|
||||
****************************************************************************/
|
||||
void __init orion5x_ehci1_init(void)
|
||||
{
|
||||
orion_ehci_1_init(&orion_mbus_dram_info,
|
||||
ORION5X_USB1_PHYS_BASE, IRQ_ORION5X_USB1_CTRL);
|
||||
orion_ehci_1_init(ORION5X_USB1_PHYS_BASE, IRQ_ORION5X_USB1_CTRL);
|
||||
}
|
||||
|
||||
|
||||
@@ -92,7 +89,7 @@ void __init orion5x_ehci1_init(void)
|
||||
****************************************************************************/
|
||||
void __init orion5x_eth_init(struct mv643xx_eth_platform_data *eth_data)
|
||||
{
|
||||
orion_ge00_init(eth_data, &orion_mbus_dram_info,
|
||||
orion_ge00_init(eth_data,
|
||||
ORION5X_ETH_PHYS_BASE, IRQ_ORION5X_ETH_SUM,
|
||||
IRQ_ORION5X_ETH_ERR, orion5x_tclk);
|
||||
}
|
||||
@@ -122,8 +119,7 @@ void __init orion5x_i2c_init(void)
|
||||
****************************************************************************/
|
||||
void __init orion5x_sata_init(struct mv_sata_platform_data *sata_data)
|
||||
{
|
||||
orion_sata_init(sata_data, &orion_mbus_dram_info,
|
||||
ORION5X_SATA_PHYS_BASE, IRQ_ORION5X_SATA);
|
||||
orion_sata_init(sata_data, ORION5X_SATA_PHYS_BASE, IRQ_ORION5X_SATA);
|
||||
}
|
||||
|
||||
|
||||
@@ -159,8 +155,7 @@ void __init orion5x_uart1_init(void)
|
||||
****************************************************************************/
|
||||
void __init orion5x_xor_init(void)
|
||||
{
|
||||
orion_xor0_init(&orion_mbus_dram_info,
|
||||
ORION5X_XOR_PHYS_BASE,
|
||||
orion_xor0_init(ORION5X_XOR_PHYS_BASE,
|
||||
ORION5X_XOR_PHYS_BASE + 0x200,
|
||||
IRQ_ORION5X_XOR0, IRQ_ORION5X_XOR1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user