]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: atmel: sama5d3: early enable PIO peripherals
authorBo Shen <voice.shen@atmel.com>
Fri, 15 Nov 2013 03:12:36 +0000 (11:12 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Sun, 1 Dec 2013 21:38:45 +0000 (22:38 +0100)
Enable the PIO peripherals early than other peripherals.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
board/atmel/sama5d3xek/sama5d3xek.c

index b0965ef211896f20aa12b4233fa72c7a2be35e1d..f245f98bf78e4a2a765700973a9c6337ff102fab 100644 (file)
@@ -158,6 +158,12 @@ void lcd_show_board_info(void)
 
 int board_early_init_f(void)
 {
+       at91_periph_clk_enable(ATMEL_ID_PIOA);
+       at91_periph_clk_enable(ATMEL_ID_PIOB);
+       at91_periph_clk_enable(ATMEL_ID_PIOC);
+       at91_periph_clk_enable(ATMEL_ID_PIOD);
+       at91_periph_clk_enable(ATMEL_ID_PIOE);
+
        at91_seriald_hw_init();
 
        return 0;