[U-Boot] [PATCH 1/2] mmc: access mxcmmc from mx31 boards

Stefano Babic sbabic at denx.de
Fri Jan 13 09:28:09 CET 2012


On 11/01/2012 14:59, Helmut Raiger wrote:
> This patch modifies mxcmmc.c to be used
> not only by i.MX27 but also by i.MX31 boards.
> Both use the same SD controller, but have different
> clock set-ups.
> The i.MX27 imx_get_XXXclock functions are made static to
> generic.c and a public mxc_get_clock() function
> is provided.  Pins, base address and prototypes for
> an i.MX31 specific board_init_mmc() are provided.
> Some of the i.MX27 clock getters are unused and marked
> as such to avoid warnings (./MAKEALL -s mx27), but
> the code was left in for future use.
> 
> Signed-off-by: Helmut Raiger <helmut.raiger at hale.at>
> ---

It looks fine to me.

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

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-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list