Home
last modified time | relevance | path

Searched hist:e0f4de1afcdb80b4ccad10a877504baaeb7ae2c0 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mmc/
H A Dzynq_sdhci.ce0f4de1afcdb80b4ccad10a877504baaeb7ae2c0 Tue Jan 17 15:27:32 UTC 2017 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> mmc: zynq: Determine base clock frequency via clock framework

The zynq_sdhci controller driver use CONFIG_ZYNQ_SDHCI_MAX_FREQ as base
clock frequency but this clock is not fixed and depends on the hardware
configuration. Additionally the value of CONFIG_ZYNQ_SDHCI_MAX_FREQ
doesn't match the real base clock frequency of SDIO_FREQ. Use the clock
framework to determine the frequency at run time.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>