diff options
author | Tom Rini <trini@ti.com> | 2014-03-10 14:22:54 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-03-10 14:22:54 -0400 |
commit | 5495dae7aa9d5cd161e07174d38acac86515c58a (patch) | |
tree | 848c7f48688aeb5ada1fe221dc5dff4729561814 /board/atmel/at91sam9263ek/at91sam9263ek.c | |
parent | c0d297946fd2540c8057eb1589429978da888dbb (diff) | |
parent | 27019e4a949fc3be2e895ac20839c4d4d119f902 (diff) | |
download | u-boot-imx-5495dae7aa9d5cd161e07174d38acac86515c58a.zip u-boot-imx-5495dae7aa9d5cd161e07174d38acac86515c58a.tar.gz u-boot-imx-5495dae7aa9d5cd161e07174d38acac86515c58a.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'board/atmel/at91sam9263ek/at91sam9263ek.c')
-rw-r--r-- | board/atmel/at91sam9263ek/at91sam9263ek.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/atmel/at91sam9263ek/at91sam9263ek.c b/board/atmel/at91sam9263ek/at91sam9263ek.c index 7784cd7..db29879 100644 --- a/board/atmel/at91sam9263ek/at91sam9263ek.c +++ b/board/atmel/at91sam9263ek/at91sam9263ek.c @@ -24,6 +24,7 @@ #include <net.h> #endif #include <netdev.h> +#include <atmel_mci.h> DECLARE_GLOBAL_DATA_PTR; @@ -214,6 +215,15 @@ void lcd_show_board_info(void) #endif /* CONFIG_LCD_INFO */ #endif +#ifdef CONFIG_GENERIC_ATMEL_MCI +int board_mmc_init(bd_t *bd) +{ + at91_mci_hw_init(); + + return atmel_mci_init((void *)ATMEL_BASE_MCI1); +} +#endif + int board_early_init_f(void) { struct at91_pmc *pmc = (struct at91_pmc *)ATMEL_BASE_PMC; |