]> git.sur5r.net Git - u-boot/commit
dm: clk: Add a simple version of clk_get_by_index()
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:44:00 +0000 (19:44 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:35 +0000 (20:42 -0700)
commita4b10c088c4f6ef2e2bba33e8cfea369bcbbce44
tree0284610ead16629f6cef55ff5d2cb1619f32e111
parent364809de31a06da45d9b6f84cffbdb34bcfddc7a
dm: clk: Add a simple version of clk_get_by_index()

This function adds quite a bit of code to SPL and we probably don't need
all the features in SPL. Add a simple version (for SPL only) to save space.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/clk/clk-uclass.c