[AVR32] Don't reset PIO state at bootup
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 29 Jan 2007 16:59:40 +0000 (17:59 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 9 Feb 2007 14:01:58 +0000 (15:01 +0100)
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>
arch/avr32/mach-at32ap/pio.c

index 17e835d..c3f596c 100644 (file)
@@ -385,9 +385,6 @@ void __init at32_init_pio(struct platform_device *pdev)
         */
        pio->gpio_mask = ~0UL;
 
-       pio_writel(pio, ODR, ~0UL);
-       pio_writel(pio, PER, ~0UL);
-
        /* start with irqs disabled and acked */
        pio_writel(pio, IDR, ~0UL);
        (void) pio_readl(pio, ISR);