On 21 January 2016 at 19:44, Simon Glass <s...@chromium.org> wrote: > The current method assumes that clocks are numbered from 0 and we can > determine a clock by its number. It is safer to use an ID in the clock's > platform data to avoid the situation where another clock is bound before > the one we expect. > > Move the existing code into rk3036 since it still works there. Add a new > implementation for rk3288. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > Changes in v9: None > Changes in v2: None > > arch/arm/mach-rockchip/Makefile | 1 - > arch/arm/mach-rockchip/common.c | 28 ---------------------------- > drivers/clk/clk_rk3036.c | 17 +++++++++++++++++ > drivers/clk/clk_rk3288.c | 13 +++++++++++++ > 4 files changed, 30 insertions(+), 29 deletions(-) > delete mode 100644 arch/arm/mach-rockchip/common.c
Applied to u-boot-rockchip. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot