diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 13:03:40 -0400 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 13:03:40 -0400 | 
| commit | f99d055398d53c8f769d5153b3fdce1d2556e7ff (patch) | |
| tree | 3f0fb0b13b70179bf2c58d6fb5bfc7641c925de7 /arch/arm/mach-at91/at91sam9rl.c | |
| parent | 2c518959f082c549d6c6dd9b5380aec40c3eb07f (diff) | |
| parent | 24cecc1be62c37231fda15054a3d4d235ada38c5 (diff) | |
Merge branch 'for_linus' of git://github.com/at91linux/linux-2.6-at91
* 'for_linus' of git://github.com/at91linux/linux-2.6-at91:
  AT91: rtc: enable built-in RTC in Kconfig for at91sam9g45 family
  at91/atmel-mci: inclusion of sd/mmc driver in at91sam9g45 chip and board
  AT91: pm: make sure that r0 is 0 when dealing with cache operations
  AT91: pm: use plain cpu_do_idle() for "wait for interrupt"
  AT91: reset: extend alternate reset procedure to several chips
  AT91: reset routine cleanup, remove not needed icache flush
  AT91: trivial: align comment of at91sam9g20_reset with one more tab
  AT91: Fix AT91SAM9G20 reset as per the errata in the data sheet
  AT91: add board support for Pcontrol_G20
Diffstat (limited to 'arch/arm/mach-at91/at91sam9rl.c')
| -rw-r--r-- | arch/arm/mach-at91/at91sam9rl.c | 7 | 
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c index 211c5c14a1e6..6a9d24e5ed8e 100644 --- a/arch/arm/mach-at91/at91sam9rl.c +++ b/arch/arm/mach-at91/at91sam9rl.c  | |||
| @@ -242,11 +242,6 @@ static struct at91_gpio_bank at91sam9rl_gpio[] = { | |||
| 242 | } | 242 | } | 
| 243 | }; | 243 | }; | 
| 244 | 244 | ||
| 245 | static void at91sam9rl_reset(void) | ||
| 246 | { | ||
| 247 | at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST); | ||
| 248 | } | ||
| 249 | |||
| 250 | static void at91sam9rl_poweroff(void) | 245 | static void at91sam9rl_poweroff(void) | 
| 251 | { | 246 | { | 
| 252 | at91_sys_write(AT91_SHDW_CR, AT91_SHDW_KEY | AT91_SHDW_SHDW); | 247 | at91_sys_write(AT91_SHDW_CR, AT91_SHDW_KEY | AT91_SHDW_SHDW); | 
| @@ -281,7 +276,7 @@ void __init at91sam9rl_initialize(unsigned long main_clock) | |||
| 281 | /* Map SRAM */ | 276 | /* Map SRAM */ | 
| 282 | iotable_init(at91sam9rl_sram_desc, ARRAY_SIZE(at91sam9rl_sram_desc)); | 277 | iotable_init(at91sam9rl_sram_desc, ARRAY_SIZE(at91sam9rl_sram_desc)); | 
| 283 | 278 | ||
| 284 | at91_arch_reset = at91sam9rl_reset; | 279 | at91_arch_reset = at91sam9_alt_reset; | 
| 285 | pm_power_off = at91sam9rl_poweroff; | 280 | pm_power_off = at91sam9rl_poweroff; | 
| 286 | at91_extern_irq = (1 << AT91SAM9RL_ID_IRQ0); | 281 | at91_extern_irq = (1 << AT91SAM9RL_ID_IRQ0); | 
| 287 | 282 | ||
