
18 Jul
2016
18 Jul
'16
2:16 p.m.
On 17 July 2016 at 15:23, Simon Glass sjg@chromium.org 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.
Signed-off-by: Simon Glass sjg@chromium.org
drivers/core/uclass.c | 20 ++++++++++++++++++++ include/dm/device.h | 4 ++++ include/dm/uclass.h | 17 +++++++++++++++++ 3 files changed, 41 insertions(+)
Applied to u-boot-rockchip.