提交 dde25103 编写于 作者: H Haavard Skinnemoen

[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: NHaavard Skinnemoen <hskinnemoen@atmel.com>
上级 6a4e5227
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册