[U-Boot] [PATCH 4/5] vybrid: add eSDHC driver support

Stefano Babic sbabic at denx.de
Sat Apr 13 22:41:15 CEST 2013


On 12/04/2013 08:53, Alison Wang wrote:
> This patch adds eSDHC driver support for vybrid platform.
> 
> Signed-off-by: TsiChung Liew <tsicliew at gmail.com>
> Signed-off-by: Jason Jin <Jason.jin at freescale.com>
> Signed-off-by: Alison Wang <b18965 at freescale.com>
> ---
>  drivers/mmc/fsl_esdhc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
> index 35f879e..f258868 100644
> --- a/drivers/mmc/fsl_esdhc.c
> +++ b/drivers/mmc/fsl_esdhc.c
> @@ -1,5 +1,5 @@
>  /*
> - * Copyright 2007, 2010-2011 Freescale Semiconductor, Inc
> + * Copyright 2007, 2010-2013 Freescale Semiconductor, Inc

I do not think you can change the Copyright line only for adding a line
of code.

> -#ifndef ARCH_MXC
> +#if !defined(ARCH_MXC) && !defined(CONFIG_VYBRID)
>  	/* Enable cache snooping */
>  	esdhc_write32(&regs->scr, 0x00000040);
>  #endif

I am also not sure if we need CONFIG_VYBRID (but then it should be
ARCH_VYBRID) or we can let flow these processors into the i.MX family.

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list