7d55490277
This commit migrates the mach-dove platforms to use the mvebu-mbus driver and therefore removes the Dove-specific addr-map code. The dove_init_early() function now initializes the mvebu-mbus driver by calling mvebu_mbus_init(). The address decoding windows are now registered in the dove_setup_cpu_wins() function. It is worth noting that the four PCIe address decoding windows will ultimately no longer have to be registered here: it will be done automatically by the PCIe driver once Dove has been migrated to use the upcoming mvebu PCIe driver. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
47 lines
1.3 KiB
C
47 lines
1.3 KiB
C
/*
|
|
* arch/arm/mach-dove/common.h
|
|
*
|
|
* Core functions for Marvell Dove 88AP510 System On Chip
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __ARCH_DOVE_COMMON_H
|
|
#define __ARCH_DOVE_COMMON_H
|
|
|
|
struct mv643xx_eth_platform_data;
|
|
struct mv_sata_platform_data;
|
|
|
|
extern void dove_timer_init(void);
|
|
|
|
/*
|
|
* Basic Dove init functions used early by machine-setup.
|
|
*/
|
|
void dove_map_io(void);
|
|
void dove_init(void);
|
|
void dove_init_early(void);
|
|
void dove_init_irq(void);
|
|
void dove_setup_cpu_wins(void);
|
|
void dove_ge00_init(struct mv643xx_eth_platform_data *eth_data);
|
|
void dove_sata_init(struct mv_sata_platform_data *sata_data);
|
|
#ifdef CONFIG_PCI
|
|
void dove_pcie_init(int init_port0, int init_port1);
|
|
#else
|
|
static inline void dove_pcie_init(int init_port0, int init_port1) { }
|
|
#endif
|
|
void dove_ehci0_init(void);
|
|
void dove_ehci1_init(void);
|
|
void dove_uart0_init(void);
|
|
void dove_uart1_init(void);
|
|
void dove_uart2_init(void);
|
|
void dove_uart3_init(void);
|
|
void dove_spi0_init(void);
|
|
void dove_spi1_init(void);
|
|
void dove_i2c_init(void);
|
|
void dove_sdio0_init(void);
|
|
void dove_sdio1_init(void);
|
|
void dove_restart(char, const char *);
|
|
|
|
#endif
|