[U-Boot] [PATCH v2 1/3] rockchip: rk3036: Move rockchip_get_cru() out of the driver

Simon Glass
2016-10-15T13:11:27Z

On 7 October 2016 at 20:54, Kever Yang <kever.yang@rock-chips.com> wrote:
> Hi Simon,
>
>
> On 10/02/2016 10:04 AM, Simon Glass wrote:
>>
>> This function is called from outside the driver. It should be placed into
>> common SoC code. Move it.
>>
>> Also rename the driver symbol to be more consistent with the other
>> rockchip
>> clock drivers.
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>> ---
>>
>> Changes in v2: None
>>
>> arch/arm/include/asm/arch-rockchip/cru_rk3036.h | 6 +++++
>> arch/arm/mach-rockchip/rk3036/Makefile | 2 ++
>> arch/arm/mach-rockchip/rk3036/clk_rk3036.c | 33
>> +++++++++++++++++++++++++
>> drivers/clk/rockchip/clk_rk3036.c | 24 +-----------------
>> 4 files changed, 42 insertions(+), 23 deletions(-)
>> create mode 100644 arch/arm/mach-rockchip/rk3036/clk_rk3036.c
>>
[..]

> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
>
> Thanks,
> - Kever
>

Applied to u-boot-rockchip