]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 17e835de95cb91158c09edfd436787b0f10b1cbd..c3f596ce5267f082d5430a0254c449207766986c 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);