]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mmc: access mxcmmc from mx31 boards
authorHelmut Raiger <helmut.raiger@hale.at>
Wed, 11 Jan 2012 03:59:22 +0000 (03:59 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:26 +0000 (10:11 +0100)
commitfa47a28661719ec73479c96b12823fd4e7373314
treec04bb76672f1973f83a54467f35ed893d3066d3c
parent2af81e2735bb50a679dd84d54e821b1b2f1c56e3
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: Helmut Raiger <helmut.raiger@hale.at>
Acked-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm1136/mx31/generic.c
arch/arm/cpu/arm926ejs/mx27/generic.c
arch/arm/include/asm/arch-mx27/clock.h
arch/arm/include/asm/arch-mx31/clock.h
arch/arm/include/asm/arch-mx31/imx-regs.h
arch/arm/include/asm/arch-mx31/sys_proto.h
drivers/mmc/mxcmmc.c