openrd-mmc
authorVagrant Cascadian <vagrant@debian.org>
Tue, 7 Apr 2015 20:42:30 +0000 (20:42 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 7 Apr 2015 20:42:30 +0000 (20:42 +0000)
This partially depends on the kerma-sheevaplug-mvsdio patch.

Updated version provided by drEagle <drEagle@DOUKKI.NET>:
https://lists.debian.org/debian-arm/2014/07/msg00041.html

Gbp-Pq: Name openrd-mmc.diff

board/Marvell/openrd/openrd.c

index a005a2f79dd07618e89267bc32906f9a946e6e11..07a65d7cc8c9d69a785fe99b40eb3d39dd24f679 100644 (file)
@@ -17,6 +17,9 @@
 #include <asm/arch/kirkwood.h>
 #include <asm/arch/mpp.h>
 #include "openrd.h"
+#ifdef CONFIG_MRVL_MMC
+#include <mrvl_mmc.h>
+#endif /* CONFIG_MRVL_MMC */
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -159,3 +162,11 @@ void reset_phy(void)
 #endif
 }
 #endif /* CONFIG_RESET_PHY_R */
+
+#ifdef CONFIG_MRVL_MMC
+int board_mmc_init(bd_t *bis)
+{
+       mrvl_mmc_init(bis);
+       return 0;
+}
+#endif /* CONFIG_MRVL_MMC */