mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[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>
This commit is contained in:
parent
6a4e5227a3
commit
dde251033f
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue