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

2016-07-31 Thread Simon Glass
Hi Stephen, On 18 July 2016 at 10:23, Stephen Warren wrote: > 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 w

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

2016-07-18 Thread Stephen Warren
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 compari

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

2016-07-18 Thread Simon Glass
On 17 July 2016 at 15:23, 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 strin

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

2016-07-17 Thread Simon Glass
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. Signed-off-by: Simon Glass --- drive