cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

common.h (1319B)


      1/*
      2 * arch/arm/mach-dove/common.h
      3 *
      4 * Core functions for Marvell Dove 88AP510 System On Chip
      5 *
      6 * This file is licensed under the terms of the GNU General Public
      7 * License version 2.  This program is licensed "as is" without any
      8 * warranty of any kind, whether express or implied.
      9 */
     10
     11#ifndef __ARCH_DOVE_COMMON_H
     12#define __ARCH_DOVE_COMMON_H
     13
     14#include <linux/reboot.h>
     15
     16struct mv643xx_eth_platform_data;
     17struct mv_sata_platform_data;
     18
     19extern void dove_timer_init(void);
     20
     21/*
     22 * Basic Dove init functions used early by machine-setup.
     23 */
     24void dove_map_io(void);
     25void dove_init(void);
     26void dove_init_early(void);
     27void dove_init_irq(void);
     28void dove_setup_cpu_wins(void);
     29void dove_ge00_init(struct mv643xx_eth_platform_data *eth_data);
     30void dove_sata_init(struct mv_sata_platform_data *sata_data);
     31#ifdef CONFIG_PCI
     32void dove_pcie_init(int init_port0, int init_port1);
     33#else
     34static inline void dove_pcie_init(int init_port0, int init_port1) { }
     35#endif
     36void dove_ehci0_init(void);
     37void dove_ehci1_init(void);
     38void dove_uart0_init(void);
     39void dove_uart1_init(void);
     40void dove_uart2_init(void);
     41void dove_uart3_init(void);
     42void dove_spi0_init(void);
     43void dove_spi1_init(void);
     44void dove_i2c_init(void);
     45void dove_sdio0_init(void);
     46void dove_sdio1_init(void);
     47void dove_restart(enum reboot_mode, const char *);
     48
     49#endif