[U-Boot] [PATCH v9 17/49] rockchip: clock: Add a function to find a clock by ID
Simon Glass
sjg at chromium.org
Fri Jan 22 16:17:52 CET 2016
On 21 January 2016 at 19:43, Simon Glass <sjg at chromium.org> wrote:
> The current approach of using uclass_get_device() is error-prone. Another
> clock (for example a fixed-clock) may cause it to break. Add a function that
> does a proper search.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v9: None
> Changes in v2: None
>
> arch/arm/include/asm/arch-rockchip/clock.h | 12 ++++++++++++
> drivers/clk/clk_rk3288.c | 24 ++++++++++++++++++++++--
> 2 files changed, 34 insertions(+), 2 deletions(-)
Applied to u-boot-rockchip.
More information about the U-Boot
mailing list