diff options
Diffstat (limited to 'arch/arm/mach-orion5x/common.h')
-rw-r--r-- | arch/arm/mach-orion5x/common.h | 35 |
1 files changed, 13 insertions, 22 deletions
diff --git a/arch/arm/mach-orion5x/common.h b/arch/arm/mach-orion5x/common.h index bd0f05de6e18..da37c204bc38 100644 --- a/arch/arm/mach-orion5x/common.h +++ b/arch/arm/mach-orion5x/common.h | |||
@@ -1,10 +1,12 @@ | |||
1 | #ifndef __ARCH_ORION5X_COMMON_H | 1 | #ifndef __ARCH_ORION5X_COMMON_H |
2 | #define __ARCH_ORION5X_COMMON_H | 2 | #define __ARCH_ORION5X_COMMON_H |
3 | 3 | ||
4 | struct mv643xx_eth_platform_data; | ||
5 | struct mv_sata_platform_data; | ||
6 | |||
4 | /* | 7 | /* |
5 | * Basic Orion init functions used early by machine-setup. | 8 | * Basic Orion init functions used early by machine-setup. |
6 | */ | 9 | */ |
7 | |||
8 | void orion5x_map_io(void); | 10 | void orion5x_map_io(void); |
9 | void orion5x_init_irq(void); | 11 | void orion5x_init_irq(void); |
10 | void orion5x_init(void); | 12 | void orion5x_init(void); |
@@ -23,13 +25,19 @@ void orion5x_setup_dev1_win(u32 base, u32 size); | |||
23 | void orion5x_setup_dev2_win(u32 base, u32 size); | 25 | void orion5x_setup_dev2_win(u32 base, u32 size); |
24 | void orion5x_setup_pcie_wa_win(u32 base, u32 size); | 26 | void orion5x_setup_pcie_wa_win(u32 base, u32 size); |
25 | 27 | ||
28 | void orion5x_ehci0_init(void); | ||
29 | void orion5x_ehci1_init(void); | ||
30 | void orion5x_eth_init(struct mv643xx_eth_platform_data *eth_data); | ||
31 | void orion5x_i2c_init(void); | ||
32 | void orion5x_sata_init(struct mv_sata_platform_data *sata_data); | ||
33 | void orion5x_uart0_init(void); | ||
34 | void orion5x_uart1_init(void); | ||
35 | |||
26 | /* | 36 | /* |
27 | * Shared code used internally by other Orion core functions. | 37 | * PCIe/PCI functions. |
28 | * (/mach-orion/pci.c) | ||
29 | */ | 38 | */ |
30 | |||
31 | struct pci_sys_data; | ||
32 | struct pci_bus; | 39 | struct pci_bus; |
40 | struct pci_sys_data; | ||
33 | 41 | ||
34 | void orion5x_pcie_id(u32 *dev, u32 *rev); | 42 | void orion5x_pcie_id(u32 *dev, u32 *rev); |
35 | int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys); | 43 | int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys); |
@@ -40,26 +48,9 @@ int orion5x_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin); | |||
40 | * Valid GPIO pins according to MPP setup, used by machine-setup. | 48 | * Valid GPIO pins according to MPP setup, used by machine-setup. |
41 | * (/mach-orion/gpio.c). | 49 | * (/mach-orion/gpio.c). |
42 | */ | 50 | */ |
43 | |||
44 | void orion5x_gpio_set_valid_pins(u32 pins); | 51 | void orion5x_gpio_set_valid_pins(u32 pins); |
45 | void gpio_display(void); /* debug */ | 52 | void gpio_display(void); /* debug */ |
46 | 53 | ||
47 | /* | ||
48 | * Pull in Orion Ethernet platform_data, used by machine-setup | ||
49 | */ | ||
50 | |||
51 | struct mv643xx_eth_platform_data; | ||
52 | |||
53 | void orion5x_eth_init(struct mv643xx_eth_platform_data *eth_data); | ||
54 | |||
55 | /* | ||
56 | * Orion Sata platform_data, used by machine-setup | ||
57 | */ | ||
58 | |||
59 | struct mv_sata_platform_data; | ||
60 | |||
61 | void orion5x_sata_init(struct mv_sata_platform_data *sata_data); | ||
62 | |||
63 | struct machine_desc; | 54 | struct machine_desc; |
64 | struct meminfo; | 55 | struct meminfo; |
65 | struct tag; | 56 | struct tag; |