Skip to content
Snippets Groups Projects
Commit 66bfce55 authored by Bo Shen's avatar Bo Shen Committed by Andreas Bießmann
Browse files

ARM: atmel: sama5d4 xplained: enable mmc power


Enable the power for MMC/SD port.

Signed-off-by: default avatarBo Shen <voice.shen@atmel.com>
parent 6eb7e136
No related branches found
No related tags found
No related merge requests found
...@@ -228,6 +228,9 @@ void sama5d4_xplained_mci1_hw_init(void) ...@@ -228,6 +228,9 @@ void sama5d4_xplained_mci1_hw_init(void)
int board_mmc_init(bd_t *bis) int board_mmc_init(bd_t *bis)
{ {
/* Enable the power supply */
at91_set_pio_output(AT91_PIO_PORTE, 4, 0);
return atmel_mci_init((void *)ATMEL_BASE_MCI1); return atmel_mci_init((void *)ATMEL_BASE_MCI1);
} }
#endif /* CONFIG_GENERIC_ATMEL_MCI */ #endif /* CONFIG_GENERIC_ATMEL_MCI */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment