From ec7c9c8544c8305415499371467b067075d5c6f7 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Tue, 7 Apr 2015 20:42:30 +0000 Subject: [PATCH] openrd-mmc This partially depends on the kerma-sheevaplug-mvsdio patch. Updated version provided by drEagle : https://lists.debian.org/debian-arm/2014/07/msg00041.html Gbp-Pq: Name openrd-mmc.diff --- board/Marvell/openrd/openrd.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/board/Marvell/openrd/openrd.c b/board/Marvell/openrd/openrd.c index a005a2f79..07a65d7cc 100644 --- a/board/Marvell/openrd/openrd.c +++ b/board/Marvell/openrd/openrd.c @@ -17,6 +17,9 @@ #include #include #include "openrd.h" +#ifdef CONFIG_MRVL_MMC +#include +#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 */ -- 2.30.2