[U-Boot] [PATCH] fix compilation of socfpga_dw_mmc

Pavel Machek
2014-09-09T12:08:13Z

Fix compilation of socfpga_dw_mmc.

Signed-off-by: Pavel Machek <pavel@denx.de>

diff --git a/drivers/mmc/socfpga_dw_mmc.c b/drivers/mmc/socfpga_dw_mmc.c
index 1f96382..d8da7f5 100644
--- a/drivers/mmc/socfpga_dw_mmc.c
+++ b/drivers/mmc/socfpga_dw_mmc.c
@@ -16,6 +16,8 @@ static const struct socfpga_clock_manager *clock_manager_base =
static const struct socfpga_system_manager *system_manager_base =
(void *)SOCFPGA_SYSMGR_ADDRESS;

+#define CLKMGR_PERPLLGRP_EN_SDMMCCLK_MASK (1 << 8)
+
static void socfpga_dwmci_clksel(struct dwmci_host *host)
{
unsigned int drvsel;

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html