]> git.sur5r.net Git - u-boot/commit
FSL/eSDHC: enable the clock to detect the SD card
authorJerry Huang <Chang-Ming.Huang@freescale.com>
Thu, 17 May 2012 23:57:02 +0000 (23:57 +0000)
committerAndy Fleming <afleming@freescale.com>
Fri, 13 Jul 2012 22:04:50 +0000 (17:04 -0500)
commit975324a7d9abd26423594b596d8cd7b83699171a
treea439b90bca1b5126a09cb7290d8323d0dab4af74
parentd2d8afae338664958b0ab68741419c0f8be26e80
FSL/eSDHC: enable the clock to detect the SD card

For FSL low-end processors (VVN2.2), in order to detect the SD card,
we should enable PEREN, HCKEN and IPGEN to enable the clock.
Otherwise, after booting the u-boot, and then inserting the SD card,
the SD card can't be detected.
For SDHC VVN2.3 IP, these bits are reserved, and SDCLKEN is used.
And when accessing to these reserved bit, no any impact happened.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
CC: Andy Fleming <afleming@gmail.com>
CC: Marek Vasut <marex@denx.de>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/mmc/fsl_esdhc.c