common.c (81a15f2ee56fe725ce68e3cdad982117e261d47d) common.c (c02cecb92ed49f36196ee9e29d29c4cfcbad05ae)
1/*
2 * arch/arm/mach-orion5x/common.c
3 *
4 * Core functions for Marvell Orion 5x SoCs
5 *
6 * Maintainer: Tzachi Perelstein <tzachi@marvell.com>
7 *
8 * This file is licensed under the terms of the GNU General Public

--- 16 unchanged lines hidden (view full) ---

25#include <asm/system_misc.h>
26#include <asm/timex.h>
27#include <asm/mach/arch.h>
28#include <asm/mach/map.h>
29#include <asm/mach/time.h>
30#include <mach/bridge-regs.h>
31#include <mach/hardware.h>
32#include <mach/orion5x.h>
1/*
2 * arch/arm/mach-orion5x/common.c
3 *
4 * Core functions for Marvell Orion 5x SoCs
5 *
6 * Maintainer: Tzachi Perelstein <tzachi@marvell.com>
7 *
8 * This file is licensed under the terms of the GNU General Public

--- 16 unchanged lines hidden (view full) ---

25#include <asm/system_misc.h>
26#include <asm/timex.h>
27#include <asm/mach/arch.h>
28#include <asm/mach/map.h>
29#include <asm/mach/time.h>
30#include <mach/bridge-regs.h>
31#include <mach/hardware.h>
32#include <mach/orion5x.h>
33#include <plat/orion_nand.h>
34#include <plat/ehci-orion.h>
33#include <linux/platform_data/mtd-orion_nand.h>
34#include <linux/platform_data/usb-ehci-orion.h>
35#include <plat/time.h>
36#include <plat/common.h>
37#include <plat/addr-map.h>
38#include "common.h"
39
40/*****************************************************************************
41 * I/O Address Mapping
42 ****************************************************************************/

--- 61 unchanged lines hidden (view full) ---

104
105/*****************************************************************************
106 * GE00
107 ****************************************************************************/
108void __init orion5x_eth_init(struct mv643xx_eth_platform_data *eth_data)
109{
110 orion_ge00_init(eth_data,
111 ORION5X_ETH_PHYS_BASE, IRQ_ORION5X_ETH_SUM,
35#include <plat/time.h>
36#include <plat/common.h>
37#include <plat/addr-map.h>
38#include "common.h"
39
40/*****************************************************************************
41 * I/O Address Mapping
42 ****************************************************************************/

--- 61 unchanged lines hidden (view full) ---

104
105/*****************************************************************************
106 * GE00
107 ****************************************************************************/
108void __init orion5x_eth_init(struct mv643xx_eth_platform_data *eth_data)
109{
110 orion_ge00_init(eth_data,
111 ORION5X_ETH_PHYS_BASE, IRQ_ORION5X_ETH_SUM,
112 IRQ_ORION5X_ETH_ERR,
113 MV643XX_TX_CSUM_DEFAULT_LIMIT);
112 IRQ_ORION5X_ETH_ERR);
114}
115
116
117/*****************************************************************************
118 * Ethernet switch
119 ****************************************************************************/
120void __init orion5x_eth_switch_init(struct dsa_platform_data *d, int irq)
121{

--- 226 unchanged lines hidden ---
113}
114
115
116/*****************************************************************************
117 * Ethernet switch
118 ****************************************************************************/
119void __init orion5x_eth_switch_init(struct dsa_platform_data *d, int irq)
120{

--- 226 unchanged lines hidden ---