diff options
author | Barry Song <Baohua.Song@csr.com> | 2014-01-15 01:11:34 -0500 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-01-16 15:00:53 -0500 |
commit | 7bf21bc81f28cefa61250cfd9de2c884bbe1f3db (patch) | |
tree | 4ebe55e17d9a341ae339deb92bca1a83d5a129fc /drivers/clk/Makefile | |
parent | 5d2043fbe4ddc6cc16ba71b49c2c13f4cb2fe932 (diff) |
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/Makefile')
-rw-r--r-- | drivers/clk/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index 6705d9a82cbc..fcaa5b8d4e62 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile | |||
@@ -21,7 +21,6 @@ obj-$(CONFIG_ARCH_SOCFPGA) += socfpga/ | |||
21 | obj-$(CONFIG_PLAT_SPEAR) += spear/ | 21 | obj-$(CONFIG_PLAT_SPEAR) += spear/ |
22 | obj-$(CONFIG_ARCH_U300) += clk-u300.o | 22 | obj-$(CONFIG_ARCH_U300) += clk-u300.o |
23 | obj-$(CONFIG_COMMON_CLK_VERSATILE) += versatile/ | 23 | obj-$(CONFIG_COMMON_CLK_VERSATILE) += versatile/ |
24 | obj-$(CONFIG_ARCH_SIRF) += clk-prima2.o | ||
25 | obj-$(CONFIG_PLAT_ORION) += mvebu/ | 24 | obj-$(CONFIG_PLAT_ORION) += mvebu/ |
26 | ifeq ($(CONFIG_COMMON_CLK), y) | 25 | ifeq ($(CONFIG_COMMON_CLK), y) |
27 | obj-$(CONFIG_ARCH_MMP) += mmp/ | 26 | obj-$(CONFIG_ARCH_MMP) += mmp/ |
@@ -31,6 +30,7 @@ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ | |||
31 | obj-$(CONFIG_ARCH_SUNXI) += sunxi/ | 30 | obj-$(CONFIG_ARCH_SUNXI) += sunxi/ |
32 | obj-$(CONFIG_ARCH_U8500) += ux500/ | 31 | obj-$(CONFIG_ARCH_U8500) += ux500/ |
33 | obj-$(CONFIG_ARCH_VT8500) += clk-vt8500.o | 32 | obj-$(CONFIG_ARCH_VT8500) += clk-vt8500.o |
33 | obj-$(CONFIG_ARCH_SIRF) += sirf/ | ||
34 | obj-$(CONFIG_ARCH_ZYNQ) += zynq/ | 34 | obj-$(CONFIG_ARCH_ZYNQ) += zynq/ |
35 | obj-$(CONFIG_ARCH_TEGRA) += tegra/ | 35 | obj-$(CONFIG_ARCH_TEGRA) += tegra/ |
36 | obj-$(CONFIG_PLAT_SAMSUNG) += samsung/ | 36 | obj-$(CONFIG_PLAT_SAMSUNG) += samsung/ |