summaryrefslogtreecommitdiff
path: root/drivers/clk/sirf/Makefile
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2014-01-15 06:11:34 (GMT)
committerMike Turquette <mturquette@linaro.org>2014-01-16 20:00:53 (GMT)
commit7bf21bc81f28cefa61250cfd9de2c884bbe1f3db (patch)
tree4ebe55e17d9a341ae339deb92bca1a83d5a129fc /drivers/clk/sirf/Makefile
parent5d2043fbe4ddc6cc16ba71b49c2c13f4cb2fe932 (diff)
downloadlinux-7bf21bc81f28cefa61250cfd9de2c884bbe1f3db.tar.xz
clk: sirf: re-arch to make the codes support both prima2 and atlas6
sirfprima2 and sirfatlas6 are two different SoCs in CSR SiRF series. for prima2 and atlas6, there are many shared clocks but there are still some different register layout and hardware clocks, then result in different clock table. here we re-arch the driver to 1. clk-common.c provides common clocks for prima2 and atlas6, 2. clk-prima2.h describles registers of prima2 and clk-prima2.c provides prima2 specific clocks and clock table. 3. clk-atlas6.h describles registers of atlas6 and clk-atlas6.c provides atlas6 specific clocks and clock table. 4. clk.h and clk.c expose external interfaces and provide uniform entry for both prima2 and atlas6. so both prima2 and atlas6 will get support by drivers/clk/sirf. Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Rongjun Ying <Rongjun.Ying@csr.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/sirf/Makefile')
-rw-r--r--drivers/clk/sirf/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/clk/sirf/Makefile b/drivers/clk/sirf/Makefile
new file mode 100644
index 0000000..36b8e20
--- /dev/null
+++ b/drivers/clk/sirf/Makefile
@@ -0,0 +1,5 @@
+#
+# Makefile for sirf specific clk
+#
+
+obj-$(CONFIG_ARCH_SIRF) += clk-prima2.o clk-atlas6.o