Blame view

kernel/linux-imx6_3.14.28/arch/arm/mach-mvebu/armada-370-xp.h 828 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  /*
   * Generic definitions for Marvell Armada_370_XP SoCs
   *
   * Copyright (C) 2012 Marvell
   *
   * Lior Amsalem <alior@marvell.com>
   * Gregory CLEMENT <gregory.clement@free-electrons.com>
   * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
   *
   * 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 __MACH_ARMADA_370_XP_H
  #define __MACH_ARMADA_370_XP_H
  
  #ifdef CONFIG_SMP
  #include <linux/cpumask.h>
  
  #define ARMADA_XP_MAX_CPUS 4
  
  void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq);
  void armada_xp_mpic_smp_cpu_init(void);
  void armada_xp_secondary_startup(void);
  extern struct smp_operations armada_xp_smp_ops;
  #endif
  
  #endif /* __MACH_ARMADA_370_XP_H */