2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* linux/arch/arm/mach-clps711x/common.h
|
|
|
|
*
|
|
|
|
* Common bits.
|
|
|
|
*/
|
|
|
|
|
2012-11-17 21:57:15 +08:00
|
|
|
#define CLPS711X_NR_IRQS (33)
|
2012-11-17 21:57:08 +08:00
|
|
|
#define CLPS711X_NR_GPIO (4 * 8 + 3)
|
|
|
|
#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
extern void clps711x_map_io(void);
|
|
|
|
extern void clps711x_init_irq(void);
|
2012-11-09 03:40:59 +08:00
|
|
|
extern void clps711x_timer_init(void);
|
2012-11-17 21:57:14 +08:00
|
|
|
extern void clps711x_handle_irq(struct pt_regs *regs);
|
2011-11-06 01:41:52 +08:00
|
|
|
extern void clps711x_restart(char mode, const char *cmd);
|