diff options
Diffstat (limited to 'arch/arm/mach-at91/at91sam9261.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9261.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-at91/at91sam9261.c b/arch/arm/mach-at91/at91sam9261.c index 804181aedd9e..80e3e0fac6b1 100644 --- a/arch/arm/mach-at91/at91sam9261.c +++ b/arch/arm/mach-at91/at91sam9261.c | |||
@@ -11,7 +11,6 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <linux/pm.h> | ||
15 | 14 | ||
16 | #include <asm/irq.h> | 15 | #include <asm/irq.h> |
17 | #include <asm/mach/arch.h> | 16 | #include <asm/mach/arch.h> |
@@ -20,7 +19,6 @@ | |||
20 | #include <mach/at91sam9261.h> | 19 | #include <mach/at91sam9261.h> |
21 | #include <mach/at91_pmc.h> | 20 | #include <mach/at91_pmc.h> |
22 | #include <mach/at91_rstc.h> | 21 | #include <mach/at91_rstc.h> |
23 | #include <mach/at91_shdwc.h> | ||
24 | 22 | ||
25 | #include "soc.h" | 23 | #include "soc.h" |
26 | #include "generic.h" | 24 | #include "generic.h" |
@@ -268,12 +266,6 @@ static struct at91_gpio_bank at91sam9261_gpio[] = { | |||
268 | } | 266 | } |
269 | }; | 267 | }; |
270 | 268 | ||
271 | static void at91sam9261_poweroff(void) | ||
272 | { | ||
273 | at91_sys_write(AT91_SHDW_CR, AT91_SHDW_KEY | AT91_SHDW_SHDW); | ||
274 | } | ||
275 | |||
276 | |||
277 | /* -------------------------------------------------------------------- | 269 | /* -------------------------------------------------------------------- |
278 | * AT91SAM9261 processor initialization | 270 | * AT91SAM9261 processor initialization |
279 | * -------------------------------------------------------------------- */ | 271 | * -------------------------------------------------------------------- */ |
@@ -288,6 +280,7 @@ static void __init at91sam9261_map_io(void) | |||
288 | 280 | ||
289 | static void __init at91sam9261_ioremap_registers(void) | 281 | static void __init at91sam9261_ioremap_registers(void) |
290 | { | 282 | { |
283 | at91_ioremap_shdwc(AT91SAM9261_BASE_SHDWC); | ||
291 | at91sam926x_ioremap_pit(AT91SAM9261_BASE_PIT); | 284 | at91sam926x_ioremap_pit(AT91SAM9261_BASE_PIT); |
292 | at91sam9_ioremap_smc(0, AT91SAM9261_BASE_SMC); | 285 | at91sam9_ioremap_smc(0, AT91SAM9261_BASE_SMC); |
293 | } | 286 | } |
@@ -295,7 +288,6 @@ static void __init at91sam9261_ioremap_registers(void) | |||
295 | static void __init at91sam9261_initialize(void) | 288 | static void __init at91sam9261_initialize(void) |
296 | { | 289 | { |
297 | at91_arch_reset = at91sam9_alt_reset; | 290 | at91_arch_reset = at91sam9_alt_reset; |
298 | pm_power_off = at91sam9261_poweroff; | ||
299 | at91_extern_irq = (1 << AT91SAM9261_ID_IRQ0) | (1 << AT91SAM9261_ID_IRQ1) | 291 | at91_extern_irq = (1 << AT91SAM9261_ID_IRQ0) | (1 << AT91SAM9261_ID_IRQ1) |
300 | | (1 << AT91SAM9261_ID_IRQ2); | 292 | | (1 << AT91SAM9261_ID_IRQ2); |
301 | 293 | ||