[U-Boot] [PATCH] fix compilation of socfpga_dw_mmc
Marek Vasut
marex at denx.de
Tue Sep 9 14:16:53 CEST 2014
On Tuesday, September 09, 2014 at 02:08:13 PM, Pavel Machek wrote:
> Fix compilation of socfpga_dw_mmc.
>
> Signed-off-by: Pavel Machek <pavel at 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;
This macro should go into arch/arm/include/asm/arch-socfpga/clock_manager.h
Best regards,
Marek Vasut
More information about the U-Boot
mailing list