[U-Boot] [PATCH 3/3] fsl_esdhc: Only modify the field we are changing in WML

Stefano Babic sbabic at denx.de
Sat Mar 20 18:59:10 CET 2010


Kumar Gala wrote:
> From: Roy Zang <tie-fei.zang at freescale.com>
> 
> When we set the read or write watermark in WML we should maintain the
> rest of the register as is, rather than using some hard coded value.
> 
> Signed-off-by: Roy Zang <tie-fei.zang at freescale.com>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> * This patch supercededs (fsl_esdhc: Only modify WML[WR] field)

Hi,

> +		esdhc_clrsetbits32(&regs->wml, WML_WR_WML_MASK, wml_value << 16);

Line too long.

Tested successfully on mx51evk.

Acked-by: Stefano Babic <sbabic at denx.de>

Regards,
Stefano

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


More information about the U-Boot mailing list