diff options
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2017-01-17 16:27:32 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2017-02-17 10:22:47 +0100 |
commit | e0f4de1afcdb80b4ccad10a877504baaeb7ae2c0 (patch) | |
tree | 911cc97dee3dde4f05eaff6c3c2c84b3041baffb /drivers/hwmon | |
parent | 9bb803d5b090293821d1181fe9576c89c7928ec1 (diff) | |
download | u-boot-e0f4de1afcdb80b4ccad10a877504baaeb7ae2c0.tar.gz u-boot-e0f4de1afcdb80b4ccad10a877504baaeb7ae2c0.tar.xz u-boot-e0f4de1afcdb80b4ccad10a877504baaeb7ae2c0.zip |
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>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions