diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-01-29 11:59:40 -0500 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-02-09 09:01:58 -0500 |
commit | dde251033f3e54619317269a908ce40e6f3a8d04 (patch) | |
tree | 472c297ee3acb6395be4edb3ff93c013819c334a /arch | |
parent | 6a4e5227a33f60f918b30cf2001fb0bb259d9396 (diff) |
[AVR32] Don't reset PIO state at bootup
Leave the PIO lines as the bootloader left them. This allows us to
use PIOE without disturbing the SDRAM muxing.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/avr32/mach-at32ap/pio.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/avr32/mach-at32ap/pio.c b/arch/avr32/mach-at32ap/pio.c index 17e835de95cb..c3f596ce5267 100644 --- a/arch/avr32/mach-at32ap/pio.c +++ b/arch/avr32/mach-at32ap/pio.c | |||
@@ -385,9 +385,6 @@ void __init at32_init_pio(struct platform_device *pdev) | |||
385 | */ | 385 | */ |
386 | pio->gpio_mask = ~0UL; | 386 | pio->gpio_mask = ~0UL; |
387 | 387 | ||
388 | pio_writel(pio, ODR, ~0UL); | ||
389 | pio_writel(pio, PER, ~0UL); | ||
390 | |||
391 | /* start with irqs disabled and acked */ | 388 | /* start with irqs disabled and acked */ |
392 | pio_writel(pio, IDR, ~0UL); | 389 | pio_writel(pio, IDR, ~0UL); |
393 | (void) pio_readl(pio, ISR); | 390 | (void) pio_readl(pio, ISR); |