diff options
| author | Stefano Babic <sbabic@denx.de> | 2012-11-10 08:05:54 +0100 | 
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2012-11-10 08:05:54 +0100 | 
| commit | 3e4d27b06d7484040355e22eec2cbce7335d6dab (patch) | |
| tree | 9672a2bb2e4ce0edc0ab776ddf0e2ca8e39a5f62 /board/atmel/at91sam9x5ek/at91sam9x5ek.c | |
| parent | bad05afe083eec0467220de21683443292c5012e (diff) | |
| parent | 59852d03867108217fe88e3bfc3e1e9cedfe63c5 (diff) | |
| download | olio-uboot-2014.01-3e4d27b06d7484040355e22eec2cbce7335d6dab.tar.xz olio-uboot-2014.01-3e4d27b06d7484040355e22eec2cbce7335d6dab.zip | |
Merge git://git.denx.de/u-boot
Diffstat (limited to 'board/atmel/at91sam9x5ek/at91sam9x5ek.c')
| -rw-r--r-- | board/atmel/at91sam9x5ek/at91sam9x5ek.c | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c index 06028aa01..edb088680 100644 --- a/board/atmel/at91sam9x5ek/at91sam9x5ek.c +++ b/board/atmel/at91sam9x5ek/at91sam9x5ek.c @@ -31,6 +31,7 @@  #include <asm/arch/clk.h>  #include <lcd.h>  #include <atmel_hlcdc.h> +#include <atmel_mci.h>  #ifdef CONFIG_MACB  #include <net.h>  #endif @@ -258,6 +259,15 @@ void spi_cs_deactivate(struct spi_slave *slave)  }  #endif /* CONFIG_ATMEL_SPI */ +#ifdef CONFIG_GENERIC_ATMEL_MCI +int board_mmc_init(bd_t *bd) +{ +	at91_mci_hw_init(); + +	return atmel_mci_init((void *)ATMEL_BASE_HSMCI0); +} +#endif +  int board_early_init_f(void)  {  	at91_seriald_hw_init(); |