Blame view

kernel/linux-imx6_3.14.28/arch/arm/mach-clps711x/common.h 490 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  /*
   * linux/arch/arm/mach-clps711x/common.h
   *
   * Common bits.
   */
  
  #include <linux/reboot.h>
  
  #define CLPS711X_NR_IRQS	(33)
  #define CLPS711X_NR_GPIO	(4 * 8 + 3)
  #define CLPS711X_GPIO(prt, bit)	((prt) * 8 + (bit))
  
  extern void clps711x_map_io(void);
  extern void clps711x_init_irq(void);
  extern void clps711x_timer_init(void);
  extern void clps711x_handle_irq(struct pt_regs *regs);
  extern void clps711x_restart(enum reboot_mode mode, const char *cmd);
  extern void clps711x_init_early(void);