]> git.dujemihanovic.xyz Git - u-boot.git/commit
zynq: sdhci: Calculate minimum frequency based on max frequency
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 25 Nov 2015 06:21:37 +0000 (11:51 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 7 Dec 2015 09:14:29 +0000 (10:14 +0100)
commitb8a9bebeecbf915f2fecab0cfa90899abd872512
treec653be53178d476aecd9578c8bdf029ea49a88c6
parent769afa54c622d5443f768fd5b274b872ccfe8c09
zynq: sdhci: Calculate minimum frequency based on max frequency

Calculate the minimum sd clock based on max clock. This will
be done by add_sdhci() if we pass minimum clock as zero.
It also does based on SD host contoller version.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mmc/zynq_sdhci.c