]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: socfpga: Add clock framework support
authorMarek Vasut <marex@denx.de>
Wed, 1 Aug 2018 16:28:35 +0000 (18:28 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 13 Aug 2018 20:35:42 +0000 (22:35 +0200)
commit12ea13ad4348bc650c33ebcfb7ed34af634b5ab7
treeefbe8f63f9708bb38ebe78f6f9ecde3cb6962d7c
parentf9f016adcdc686bf3c50399492d579a024ed7520
mmc: socfpga: Add clock framework support

Add support for fetching the clock frequency both using the legacy
method in case clock framework is disabled as well as via the clock
framework if it is enabled. This allows for migration to the clock
framework on platforms which supports it while not breaking legacy
platforms. That said, the legacy method must be removed eventually.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <chin.liang.see@intel.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Ley Foon Tan <ley.foon.tan@intel.com>
drivers/mmc/socfpga_dw_mmc.c