Skip to content

Commit

Permalink
[AVR32] Don't reset PIO state at bootup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Haavard Skinnemoen committed Feb 9, 2007
1 parent 6a4e522 commit dde2510
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/avr32/mach-at32ap/pio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dde2510

Please sign in to comment.