[U-Boot] [PATCH 1/4] dm: clk: Add a way to find a clock by its driver

Stephen Warren swarren at wwwdotorg.org
Mon Jul 18 18:23:37 CEST 2016


On 07/17/2016 03:23 PM, Simon Glass wrote:
> Some SoCs have a single clock device. Provide a way to find it given its
> driver name. This is handled by the linker so will fail if the name is not
> found, avoiding strange errors when names change and do not match. It is
> also faster than a string comparison.

The code looks plausible, but the commit subject and description imply 
this has something to do with clocks, whereas it doesn't; it seems to be 
a generic/core DM function.


More information about the U-Boot mailing list