Skip to content
Snippets Groups Projects
Commit fa47a286 authored by Helmut Raiger's avatar Helmut Raiger Committed by Albert ARIBAUD
Browse files

mmc: access mxcmmc from mx31 boards


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: default avatarHelmut Raiger <helmut.raiger@hale.at>
Acked-by: default avatarStefano Babic <sbabic@denx.de>
parent 2af81e27
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment