diff options
| author | Tom Rini <trini@ti.com> | 2012-10-26 15:44:31 -0700 |
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2012-10-26 15:44:31 -0700 |
| commit | 5bb3505fa867ded03cbee83f7722ab5182930637 (patch) | |
| tree | 1830ce86f88d280eb1a004d3f954f684c548cdce /board/atmel/at91sam9x5ek/at91sam9x5ek.c | |
| parent | 8440f18a4818d52ba51bb9f0b07ce6439f1b6a57 (diff) | |
| parent | b68d6712c379735e886ef9c01b946bc36f295273 (diff) | |
| download | olio-uboot-2014.01-5bb3505fa867ded03cbee83f7722ab5182930637.tar.xz olio-uboot-2014.01-5bb3505fa867ded03cbee83f7722ab5182930637.zip | |
Merge branch 'master' of git://git.denx.de/u-boot-arm
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(); |