common.h (cb54b53adae70701bdd77d848cea4b9b39b61cf9) common.h (4ca2c04085a1caa903e92a5fc0da25362150aac2)
1#ifndef __ARCH_ORION5X_COMMON_H
2#define __ARCH_ORION5X_COMMON_H
3
4#include <linux/reboot.h>
5
6struct dsa_platform_data;
7struct mv643xx_eth_platform_data;
8struct mv_sata_platform_data;
9
1#ifndef __ARCH_ORION5X_COMMON_H
2#define __ARCH_ORION5X_COMMON_H
3
4#include <linux/reboot.h>
5
6struct dsa_platform_data;
7struct mv643xx_eth_platform_data;
8struct mv_sata_platform_data;
9
10#define ORION_MBUS_PCIE_MEM_TARGET 0x04
11#define ORION_MBUS_PCIE_MEM_ATTR 0x59
12#define ORION_MBUS_PCIE_IO_TARGET 0x04
13#define ORION_MBUS_PCIE_IO_ATTR 0x51
14#define ORION_MBUS_PCIE_WA_TARGET 0x04
15#define ORION_MBUS_PCIE_WA_ATTR 0x79
16#define ORION_MBUS_PCI_MEM_TARGET 0x03
17#define ORION_MBUS_PCI_MEM_ATTR 0x59
18#define ORION_MBUS_PCI_IO_TARGET 0x03
19#define ORION_MBUS_PCI_IO_ATTR 0x51
20#define ORION_MBUS_DEVBUS_BOOT_TARGET 0x01
21#define ORION_MBUS_DEVBUS_BOOT_ATTR 0x0f
22#define ORION_MBUS_DEVBUS_TARGET(cs) 0x01
23#define ORION_MBUS_DEVBUS_ATTR(cs) (~(1 << cs))
24#define ORION_MBUS_SRAM_TARGET 0x00
25#define ORION_MBUS_SRAM_ATTR 0x00
26
10/*
11 * Basic Orion init functions used early by machine-setup.
12 */
13void orion5x_map_io(void);
14void orion5x_init_early(void);
15void orion5x_init_irq(void);
16void orion5x_init(void);
17void orion5x_id(u32 *dev, u32 *rev, char **dev_name);

--- 54 unchanged lines hidden ---
27/*
28 * Basic Orion init functions used early by machine-setup.
29 */
30void orion5x_map_io(void);
31void orion5x_init_early(void);
32void orion5x_init_irq(void);
33void orion5x_init(void);
34void orion5x_id(u32 *dev, u32 *rev, char **dev_name);

--- 54 unchanged lines hidden ---