]> git.sur5r.net Git - u-boot/commit
mx35: Fix eSDHC clocks
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Thu, 27 Sep 2012 10:26:02 +0000 (10:26 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 16 Oct 2012 10:35:10 +0000 (12:35 +0200)
commit6e3dc127545247f123de063a6a101960e3eb2ccd
tree20b0f4c067c91cef79e7cd5dea3259e1b4a9de42
parent151d63cb9145b5eeb4585cb1b5a9c95f985a0e12
mx35: Fix eSDHC clocks

Each eSDHC instance has a dedicated clock.

gd->sdhc_clk must also be set accordingly. This is good for the case only a
single SDHC instance is used (initialization made with fsl_esdhc_mmc_init()). A
future patch will fix the multi-instance use case (initialization made directly
with fsl_esdhc_initialize()).

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Eric Bénard <eric@eukrea.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
arch/arm/cpu/arm1136/mx35/generic.c
arch/arm/include/asm/arch-mx35/clock.h