]> git.baikalelectronics.ru Git - uboot.git/commit
SOCFPGA: clock manager: implement dw_spi_get_clk function
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Thu, 28 Dec 2017 12:09:02 +0000 (15:09 +0300)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 26 Jan 2018 05:55:49 +0000 (11:25 +0530)
commit5260188c4e34cee4aa9e9485555f3461428bb481
treeffd3b5a5ad4e5e0ff73761ae8c86321ff28a1e61
parent1191704c3234e387b28775a8e72b5f5a4a19dc72
SOCFPGA: clock manager: implement dw_spi_get_clk function

Implement dw_spi_get_clk function to override its weak
implementation in designware_spi.c driver.

We need this change to get rid of cm_get_spi_controller_clk_hz
function and clock_manager.h include in designware_spi.c driver.

Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/mach-socfpga/clock_manager_arria10.c
arch/arm/mach-socfpga/clock_manager_gen5.c