[PATCH v2 05/10] arm: zynq: Move slcr initialization to separate file

Arnd Bergmann arnd at arndb.de
Tue Mar 26 17:43:23 EDT 2013


On Tuesday 26 March 2013, Michal Simek wrote:
> Create separate slcr driver instead of pollute common code.
> 
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>

Can't you move that code into the zynq_cpu_clk_setup function
instead, and only call of_clk_init(NULL) from platform code?

I would like to eventually add a default call to of_clk_init(NULL)
for all platforms, and that would be a step in that direction.

	Arnd



More information about the linux-arm-kernel mailing list