|
@@ -10,6 +10,7 @@
|
|
|
#include <asm/pl310.h>
|
|
|
#include <asm/arch/cpu.h>
|
|
|
#include <asm/arch/soc.h>
|
|
|
+#include <sdhci.h>
|
|
|
|
|
|
#define DDR_BASE_CS_OFF(n) (0x0000 + ((n) << 3))
|
|
|
#define DDR_SIZE_CS_OFF(n) (0x0004 + ((n) << 3))
|
|
@@ -245,6 +246,16 @@ int cpu_eth_init(bd_t *bis)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
+#ifdef CONFIG_MV_SDHCI
|
|
|
+int board_mmc_init(bd_t *bis)
|
|
|
+{
|
|
|
+ mv_sdh_init(MVEBU_SDIO_BASE, 0, 0,
|
|
|
+ SDHCI_QUIRK_32BIT_DMA_ADDR | SDHCI_QUIRK_WAIT_SEND_CMD);
|
|
|
+
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
#ifndef CONFIG_SYS_DCACHE_OFF
|
|
|
void enable_caches(void)
|
|
|
{
|