aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWenyou Yang2016-04-11 14:07:17 +0800
committerAndreas Bießmann2016-05-24 08:08:35 +0200
commita9c89bf1669cbeb7bce6ae7a626eb9f2120af73f (patch)
tree165296bb52355ff357a7450549d9d934a6a25fe5 /board
parent9989c1567d53a2558b872fabc39d1f8a9383c3ca (diff)
board: atmel: sama5d2_xplained: fix the missing pin config of SDMMC0
Fix the missing pin config of the SDMMC0 interface. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
Diffstat (limited to 'board')
-rw-r--r--board/atmel/sama5d2_xplained/sama5d2_xplained.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c b/board/atmel/sama5d2_xplained/sama5d2_xplained.c
index 10edf28a9bd..04422ce9be2 100644
--- a/board/atmel/sama5d2_xplained/sama5d2_xplained.c
+++ b/board/atmel/sama5d2_xplained/sama5d2_xplained.c
@@ -171,6 +171,7 @@ static void board_sdhci0_hw_init(void)
atmel_pio4_set_a_periph(AT91_PIO_PORTA, 9, 0); /* SDMMC0_DAT7 */
atmel_pio4_set_a_periph(AT91_PIO_PORTA, 10, 0); /* SDMMC0_RSTN */
atmel_pio4_set_a_periph(AT91_PIO_PORTA, 11, 0); /* SDMMC0_VDDSEL */
+ atmel_pio4_set_a_periph(AT91_PIO_PORTA, 13, 0); /* SDMMC0_CD */
at91_periph_clk_enable(ATMEL_ID_SDMMC0);
at91_enable_periph_generated_clk(ATMEL_ID_SDMMC0,