[U-Boot] [PATCH] mxcmmc: fix warnings due to access 32 bit registers with 16 bit accessors

Wolfgang Denk wd at denx.de
Sun Mar 21 19:01:02 CET 2010


Dear Stefano Babic,

In message <1268510940-7266-1-git-send-email-sbabic at denx.de> you wrote:
> Some registers of the mxcmmc driver were accessed using
> 16 bit accessor functions, because only the LSB is
> significant. This is not needed and generates
> warnings.
> 
> Signed-off-by: Stefano Babic <sbabic at denx.de>
> ---
> 
> Tested on imx27lite board.
> 
>  drivers/mmc/mxcmmc.c |   36 ++++++++++++++++++------------------
>  1 files changed, 18 insertions(+), 18 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Pain is a thing of the mind.  The mind can be controlled.
	-- Spock, "Operation -- Annihilate!" stardate 3287.2


More information about the U-Boot mailing list