summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-11-15 11:12:36 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2013-12-01 22:38:45 +0100
commitd2acb986dbf075f2af552b64bc5b69f60fcf1570 (patch)
tree4eb9d403687c635b24aeabd28c813c8c27d4df7f /board
parentebfde6db3c42b4d837aceb8c7b079c31e7c7837b (diff)
downloadu-boot-imx-d2acb986dbf075f2af552b64bc5b69f60fcf1570.zip
u-boot-imx-d2acb986dbf075f2af552b64bc5b69f60fcf1570.tar.gz
u-boot-imx-d2acb986dbf075f2af552b64bc5b69f60fcf1570.tar.bz2
arm: atmel: sama5d3: early enable PIO peripherals
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>
Diffstat (limited to 'board')
-rw-r--r--board/atmel/sama5d3xek/sama5d3xek.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c
index b0965ef..f245f98 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;