mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-27 04:30:53 +07:00
4ee1f6b574
This patch makes the various mach dirs that use the plat-orion time code pass in timer and bridge addresses explicitly, instead of having plat-orion get those values by including a mach dir include file -- the latter mechanism is problematic if you want to support multiple ARM platforms in the same kernel image. Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
44 lines
1.2 KiB
C
44 lines
1.2 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 struct sys_timer dove_timer;
|
|
extern struct mbus_dram_target_info dove_mbus_dram_info;
|
|
|
|
/*
|
|
* 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_mbus(void);
|
|
void dove_ge00_init(struct mv643xx_eth_platform_data *eth_data);
|
|
void dove_sata_init(struct mv_sata_platform_data *sata_data);
|
|
void dove_pcie_init(int init_port0, int init_port1);
|
|
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);
|
|
|
|
#endif
|