diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-22 02:44:05 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-22 03:42:35 (GMT) |
commit | 5ddf5d7705d2c2b59282ebd37aa2018460274e89 (patch) | |
tree | 2bd2229d25df111ee9b93c384d90c94e43df7224 /arch/arm/mach-rockchip/Makefile | |
parent | 2b9fe111ec47750d9d7912246d983a7f9e096df6 (diff) | |
download | u-boot-fsl-qoriq-5ddf5d7705d2c2b59282ebd37aa2018460274e89.tar.xz |
rockchip: clk: Make rkclk_get_clk() SoC-specific
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 <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-rockchip/Makefile')
-rw-r--r-- | arch/arm/mach-rockchip/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/Makefile b/arch/arm/mach-rockchip/Makefile index 1cc4a96..55567cb 100644 --- a/arch/arm/mach-rockchip/Makefile +++ b/arch/arm/mach-rockchip/Makefile @@ -11,6 +11,5 @@ else obj-$(CONFIG_ROCKCHIP_RK3288) += board.o endif obj-y += rk_timer.o -obj-$(CONFIG_$(SPL_)ROCKCHIP_COMMON) += common.o obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/ obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/ |