]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
move: rockchip: move clock drivers into a subdirectory
authorHeiko Stübner <heiko@sntech.de>
Fri, 29 Jul 2016 12:47:21 +0000 (14:47 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 5 Aug 2016 23:56:08 +0000 (17:56 -0600)
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>
drivers/clk/Makefile
drivers/clk/rockchip/Makefile [new file with mode: 0644]
drivers/clk/rockchip/clk_rk3036.c [moved from drivers/clk/clk_rk3036.c with 100% similarity]
drivers/clk/rockchip/clk_rk3288.c [moved from drivers/clk/clk_rk3288.c with 100% similarity]
drivers/clk/rockchip/clk_rk3399.c [moved from drivers/clk/clk_rk3399.c with 100% similarity]

index e20e93233722a7b34f2aff6e2b1add0f8f70bdd7..3cbdd54f4f3e7dd01d4a35a96bbf0adfcee2b5a5 100644 (file)
@@ -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 (file)
index 0000000..1f8e417
--- /dev/null
@@ -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