move: rockchip: move clock drivers into a subdirectory

A patch from »move: rockchip: move clock drivers into a subdirectory« in state Mainline for u-boot

From: =?UTF-8?q?Heiko=20St=C3=BCbner?= <heiko@...> Date: Fri, 29 Jul 2016 14:47:21 +0200

Commit-Message

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@...> Signed-off-by: Heiko Stuebner <heiko@...> Acked-by: Simon Glass <sjg@...> Updated for rk3399: Signed-off-by: Simon Glass <sjg@...>

Patch-Comment

drivers/clk/Makefile | 4 +--- drivers/clk/rockchip/Makefile | 9 +++++++++ drivers/clk/{ => rockchip}/clk_rk3036.c | 0 drivers/clk/{ => rockchip}/clk_rk3288.c | 0 drivers/clk/{ => rockchip}/clk_rk3399.c | 0 5 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 drivers/clk/rockchip/Makefile rename drivers/clk/{ => rockchip}/clk_rk3036.c (100%) rename drivers/clk/{ => rockchip}/clk_rk3288.c (100%) rename drivers/clk/{ => rockchip}/clk_rk3399.c (100%) diff --git a/drivers/clk/clk_rk3036.c b/drivers/clk/rockchip/clk_rk3036.c similarity index 100% rename from drivers/clk/clk_rk3036.c rename to drivers/clk/rockchip/clk_rk3036.c diff --git a/drivers/clk/clk_rk3288.c b/drivers/clk/rockchip/clk_rk3288.c similarity index 100% rename from drivers/clk/clk_rk3288.c rename to drivers/clk/rockchip/clk_rk3288.c diff --git a/drivers/clk/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c similarity index 100% rename from drivers/clk/clk_rk3399.c rename to drivers/clk/rockchip/clk_rk3399.c

Statistics

  • 10 lines added
  • 3 lines removed

Changes

----------------------------- drivers/clk/Makefile -----------------------------
index e20e932337..3cbdd54f4f 100644
@@ -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
------------------------ drivers/clk/rockchip/Makefile -------------------------
new file mode 100644
index 0000000000..1f8e41739d
@@ -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
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...