mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
d0ad52a6fa
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Olof Johansson <olof@lixom.net>
17 lines
451 B
C
17 lines
451 B
C
/*
|
|
* linux/arch/arm/mach-clps711x/common.h
|
|
*
|
|
* Common bits.
|
|
*/
|
|
|
|
#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(char mode, const char *cmd);
|
|
extern void clps711x_init_early(void);
|