diff options
author | Bo Shen <voice.shen@atmel.com> | 2015-02-13 15:53:18 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2015-03-18 23:36:04 +0100 |
commit | 66bfce55f1dc65b1868501d9296fba2bcd192fa5 (patch) | |
tree | 0bbe0c00c42c436de89e963e19a25683c7af2387 | |
parent | 6eb7e136a31ce36d45a755b136320ad64d207b8f (diff) | |
download | u-boot-imx-66bfce55f1dc65b1868501d9296fba2bcd192fa5.zip u-boot-imx-66bfce55f1dc65b1868501d9296fba2bcd192fa5.tar.gz u-boot-imx-66bfce55f1dc65b1868501d9296fba2bcd192fa5.tar.bz2 |
ARM: atmel: sama5d4 xplained: enable mmc power
Enable the power for MMC/SD port.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
-rw-r--r-- | board/atmel/sama5d4_xplained/sama5d4_xplained.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b/board/atmel/sama5d4_xplained/sama5d4_xplained.c index bc2aa38..e7f225a 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 */ |