diff options
Diffstat (limited to 'arch/arm/mach-at91/generic.h')
-rw-r--r-- | arch/arm/mach-at91/generic.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/generic.h b/arch/arm/mach-at91/generic.h index 938b34f57741..4866b8180d66 100644 --- a/arch/arm/mach-at91/generic.h +++ b/arch/arm/mach-at91/generic.h | |||
@@ -29,6 +29,7 @@ extern void __init at91_aic_init(unsigned int priority[]); | |||
29 | /* Timer */ | 29 | /* Timer */ |
30 | struct sys_timer; | 30 | struct sys_timer; |
31 | extern struct sys_timer at91rm9200_timer; | 31 | extern struct sys_timer at91rm9200_timer; |
32 | extern void at91sam926x_ioremap_pit(u32 addr); | ||
32 | extern struct sys_timer at91sam926x_timer; | 33 | extern struct sys_timer at91sam926x_timer; |
33 | extern struct sys_timer at91x40_timer; | 34 | extern struct sys_timer at91x40_timer; |
34 | 35 | ||
@@ -57,7 +58,10 @@ extern void at91_irq_suspend(void); | |||
57 | extern void at91_irq_resume(void); | 58 | extern void at91_irq_resume(void); |
58 | 59 | ||
59 | /* reset */ | 60 | /* reset */ |
60 | extern void at91sam9_alt_reset(void); | 61 | extern void at91sam9_alt_restart(char, const char *); |
62 | |||
63 | /* shutdown */ | ||
64 | extern void at91_ioremap_shdwc(u32 base_addr); | ||
61 | 65 | ||
62 | /* GPIO */ | 66 | /* GPIO */ |
63 | #define AT91RM9200_PQFP 3 /* AT91RM9200 PQFP package has 3 banks */ | 67 | #define AT91RM9200_PQFP 3 /* AT91RM9200 PQFP package has 3 banks */ |
@@ -65,11 +69,9 @@ extern void at91sam9_alt_reset(void); | |||
65 | 69 | ||
66 | struct at91_gpio_bank { | 70 | struct at91_gpio_bank { |
67 | unsigned short id; /* peripheral ID */ | 71 | unsigned short id; /* peripheral ID */ |
68 | unsigned long offset; /* offset from system peripheral base */ | 72 | unsigned long regbase; /* offset from system peripheral base */ |
69 | struct clk *clock; /* associated clock */ | ||
70 | }; | 73 | }; |
71 | extern void __init at91_gpio_init(struct at91_gpio_bank *, int nr_banks); | 74 | extern void __init at91_gpio_init(struct at91_gpio_bank *, int nr_banks); |
72 | extern void __init at91_gpio_irq_setup(void); | 75 | extern void __init at91_gpio_irq_setup(void); |
73 | 76 | ||
74 | extern void (*at91_arch_reset)(void); | ||
75 | extern int at91_extern_irq; | 77 | extern int at91_extern_irq; |