Skip to content
Snippets Groups Projects
Commit e0f4de1a authored by Stefan Herbrechtsmeier's avatar Stefan Herbrechtsmeier Committed by Michal Simek
Browse files

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: default avatarStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 9bb803d5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment