From 4425be39eb40dbf02149b458d7c9b6190cc261bb Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Tue, 2 May 2017 20:27:45 +0200 Subject: ARM: at91: ma5d4: Swap SD/MMC controller order The SDHCI1 is the primary boot controller on rev. 2.1 SoM, which is the version available on the market. Swap the controller order to match this and future versions of the SoM. Signed-off-by: Marek Vasut Cc: Andreas Bießmann --- board/aries/ma5d4evk/ma5d4evk.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'board/aries') diff --git a/board/aries/ma5d4evk/ma5d4evk.c b/board/aries/ma5d4evk/ma5d4evk.c index 9c1ba581668..0293b29d0ea 100644 --- a/board/aries/ma5d4evk/ma5d4evk.c +++ b/board/aries/ma5d4evk/ma5d4evk.c @@ -205,14 +205,13 @@ int board_mmc_init(bd_t *bis) at91_set_pio_output(AT91_PIO_PORTE, 15, 1); at91_pio3_set_pio_pulldown(AT91_PIO_PORTE, 15, 0); - ret = atmel_mci_init((void *)ATMEL_BASE_MCI0); + ret = atmel_mci_init((void *)ATMEL_BASE_MCI1); if (ret) /* eMMC init failed, skip it. */ at91_set_pio_output(AT91_PIO_PORTE, 15, 0); /* Enable the power supply to On-board MicroSD */ at91_set_pio_output(AT91_PIO_PORTE, 17, 0); - - ret = atmel_mci_init((void *)ATMEL_BASE_MCI1); + ret = atmel_mci_init((void *)ATMEL_BASE_MCI0); if (ret) /* uSD init failed, power it down. */ at91_set_pio_output(AT91_PIO_PORTE, 17, 1); -- cgit v1.2.3