From: Bo Shen Date: Fri, 15 Nov 2013 03:12:36 +0000 (+0800) Subject: arm: atmel: sama5d3: early enable PIO peripherals X-Git-Tag: v2014.01-rc2~42^2~16^2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d2acb986dbf075f2af552b64bc5b69f60fcf1570;p=oweals%2Fu-boot.git arm: atmel: sama5d3: early enable PIO peripherals Enable the PIO peripherals early than other peripherals. Signed-off-by: Bo Shen Signed-off-by: Andreas Bießmann --- diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c index b0965ef211..f245f98bf7 100644 --- a/board/atmel/sama5d3xek/sama5d3xek.c +++ b/board/atmel/sama5d3xek/sama5d3xek.c @@ -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;