]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: atmel_sdhci: not on capabilities to set gck rate
authorLudovic Desroches <ludovic.desroches@microchip.com>
Fri, 17 Nov 2017 06:51:27 +0000 (14:51 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
commit8d43f6bd887dcd545a196033255923f079cd69e0
tree96c4a2731b6ba8012920af27046aeb6eb2722a45
parentfff5d3a2784da1805f1cb840c9d9b8eb12c5156f
mmc: atmel_sdhci: not on capabilities to set gck rate

The capabilities have default values which doesn't reflect the reality
when it concerns the base clock and the mul value. Use a fixe rate
for the gck. 240 MHz is an arbitrary choice, it is a multiple of the
maximum SD clock frequency handle by the controller and it allows to
get a 400 kHz clock for the card initialisation.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
drivers/mmc/atmel_sdhci.c