]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
board: atmel: sama5d2_xplained: fix the missing pin config of SDMMC0
authorWenyou Yang <wenyou.yang@atmel.com>
Mon, 11 Apr 2016 06:07:17 +0000 (14:07 +0800)
committerAndreas Bießmann <andreas@biessmann.org>
Tue, 24 May 2016 06:08:35 +0000 (08:08 +0200)
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>
board/atmel/sama5d2_xplained/sama5d2_xplained.c

index 10edf28a9bd684c99e41db82a8fbf21dd6c33238..04422ce9be2640216a8c1dc25fc9b6c2a98a0b41 100644 (file)
@@ -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,