Hi Jaehoon,

> On Feb 4, 2015, at 08:48 , Jaehoon Chung <jh80.ch...@samsung.com> wrote:
> 
> "clksel_val" is assigned to property of mmc or defined value.
> But it doesn't write at initial sequence.
> There is a reason that get the wrong source-clock value.
> This patch fixed it.
> 
> Signed-off-by: Jaehoon Chung <jh80.ch...@samsung.com>
> ---
> drivers/mmc/exynos_dw_mmc.c | 4 ++++
> 1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c
> index dfa209b..3936660 100644
> --- a/drivers/mmc/exynos_dw_mmc.c
> +++ b/drivers/mmc/exynos_dw_mmc.c
> @@ -64,6 +64,10 @@ static void exynos_dwmci_board_init(struct dwmci_host 
> *host)
>                            MPSCTRL_NON_SECURE_READ_BIT |
>                            MPSCTRL_NON_SECURE_WRITE_BIT | MPSCTRL_VALID);
>       }
> +
> +     /* Set to clksel_val at initial time */
> +     if (host->clksel_val)
> +             exynos_dwmci_clksel(host);
> }
> 
> static int exynos_dwmci_core_init(struct dwmci_host *host, int index)
> -- 
> 1.9.1
> 

Thanks, applied

— Pantelis

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to