From: Bo Shen Date: Fri, 13 Feb 2015 07:53:18 +0000 (+0800) Subject: ARM: atmel: sama5d4 xplained: enable mmc power X-Git-Tag: v2015.04-rc5~63^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=66bfce55f1dc65b1868501d9296fba2bcd192fa5;p=u-boot ARM: atmel: sama5d4 xplained: enable mmc power Enable the power for MMC/SD port. Signed-off-by: Bo Shen --- diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b/board/atmel/sama5d4_xplained/sama5d4_xplained.c index bc2aa38b92..e7f225a155 100644 --- a/board/atmel/sama5d4_xplained/sama5d4_xplained.c +++ b/board/atmel/sama5d4_xplained/sama5d4_xplained.c @@ -228,6 +228,9 @@ void sama5d4_xplained_mci1_hw_init(void) 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); } #endif /* CONFIG_GENERIC_ATMEL_MCI */