diff options
author | Heiko Stübner <heiko@sntech.de> | 2016-07-29 14:47:21 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-08-05 17:56:08 -0600 |
commit | aff8795c01c39318eb07b4bf0cd7f170ff67d591 (patch) | |
tree | a297f244be8b60b1898d497e5046b0ed4e335cf7 /drivers/clk | |
parent | b0b3c86521e0fe4cca3676adfc0b937d77456f9e (diff) | |
download | u-boot-aff8795c01c39318eb07b4bf0cd7f170ff67d591.tar.gz |
move: rockchip: move clock drivers into a subdirectory
With the number of Rockchip clock drivers increasing, don't clutter up
the core drivers/clk directory with them and instead move them out of
the way into a separate subdirectory.
Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
Updated for rk3399:
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/Makefile | 4 | ||||
-rw-r--r-- | drivers/clk/rockchip/Makefile | 9 | ||||
-rw-r--r-- | drivers/clk/rockchip/clk_rk3036.c (renamed from drivers/clk/clk_rk3036.c) | 0 | ||||
-rw-r--r-- | drivers/clk/rockchip/clk_rk3288.c (renamed from drivers/clk/clk_rk3288.c) | 0 | ||||
-rw-r--r-- | drivers/clk/rockchip/clk_rk3399.c (renamed from drivers/clk/clk_rk3399.c) | 0 |
5 files changed, 10 insertions, 3 deletions
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index e20e932337..3cbdd54f4f 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -6,9 +6,7 @@ # obj-$(CONFIG_CLK) += clk-uclass.o clk_fixed_rate.o -obj-$(CONFIG_ROCKCHIP_RK3036) += clk_rk3036.o -obj-$(CONFIG_ROCKCHIP_RK3288) += clk_rk3288.o -obj-$(CONFIG_ROCKCHIP_RK3399) += clk_rk3399.o +obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ obj-$(CONFIG_SANDBOX) += clk_sandbox.o obj-$(CONFIG_SANDBOX) += clk_sandbox_test.o obj-$(CONFIG_MACH_PIC32) += clk_pic32.o diff --git a/drivers/clk/rockchip/Makefile b/drivers/clk/rockchip/Makefile new file mode 100644 index 0000000000..1f8e41739d --- /dev/null +++ b/drivers/clk/rockchip/Makefile @@ -0,0 +1,9 @@ +# +# Copyright (c) 2016 Google, Inc +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-$(CONFIG_ROCKCHIP_RK3036) += clk_rk3036.o +obj-$(CONFIG_ROCKCHIP_RK3288) += clk_rk3288.o +obj-$(CONFIG_ROCKCHIP_RK3399) += clk_rk3399.o diff --git a/drivers/clk/clk_rk3036.c b/drivers/clk/rockchip/clk_rk3036.c index 6202c9da5d..6202c9da5d 100644 --- a/drivers/clk/clk_rk3036.c +++ b/drivers/clk/rockchip/clk_rk3036.c diff --git a/drivers/clk/clk_rk3288.c b/drivers/clk/rockchip/clk_rk3288.c index e00feb0809..e00feb0809 100644 --- a/drivers/clk/clk_rk3288.c +++ b/drivers/clk/rockchip/clk_rk3288.c diff --git a/drivers/clk/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c index c0bb80c462..c0bb80c462 100644 --- a/drivers/clk/clk_rk3399.c +++ b/drivers/clk/rockchip/clk_rk3399.c |