From: Vagrant Cascadian Date: Tue, 7 Apr 2015 20:42:30 +0000 (+0000) Subject: openrd-mmc X-Git-Tag: archive/raspbian/2016.11+dfsg1-3+rpi1~1^2^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ec7c9c8544c8305415499371467b067075d5c6f7;p=u-boot.git 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 --- 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 */