blob: 41341970ec057dd1d91b632f162b1510a74ab324 [file] [log] [blame]
Tom Rinida58dec2015-11-10 01:06:16 +00001#
2# SPDX-License-Identifier: GPL-2.0+
3#
4
Masahiro Yamadafcc238b2016-09-17 03:33:10 +09005ifdef CONFIG_SPL_BUILD
6
Masahiro Yamada78c627c2017-01-15 14:59:03 +09007obj-$(CONFIG_ARCH_UNIPHIER_SLD3) += clk-early-sld3.o clk-dram-sld3.o dpll-sld3.o
8obj-$(CONFIG_ARCH_UNIPHIER_LD4) += clk-early-sld3.o clk-dram-sld3.o dpll-ld4.o
9obj-$(CONFIG_ARCH_UNIPHIER_PRO4) += clk-early-sld3.o clk-dram-sld3.o dpll-pro4.o
10obj-$(CONFIG_ARCH_UNIPHIER_SLD8) += clk-early-sld3.o clk-dram-sld3.o dpll-sld8.o
Masahiro Yamadaa8e63002017-01-15 14:59:09 +090011obj-$(CONFIG_ARCH_UNIPHIER_PRO5) += clk-early-sld3.o clk-dram-pro5.o dpll-pro5.o
12obj-$(CONFIG_ARCH_UNIPHIER_PXS2) += clk-early-sld3.o clk-dram-pxs2.o dpll-pxs2.o
13obj-$(CONFIG_ARCH_UNIPHIER_LD6B) += clk-early-sld3.o clk-dram-pxs2.o dpll-pxs2.o
Masahiro Yamada78c627c2017-01-15 14:59:03 +090014obj-$(CONFIG_ARCH_UNIPHIER_LD11) += clk-early-ld11.o clk-dram-ld11.o dpll-ld11.o
15obj-$(CONFIG_ARCH_UNIPHIER_LD20) += clk-early-ld11.o clk-dram-ld20.o dpll-ld20.o
Masahiro Yamadafcc238b2016-09-17 03:33:10 +090016
17else
18
Masahiro Yamada6a3e4272016-09-17 03:33:09 +090019obj-$(CONFIG_ARCH_UNIPHIER_SLD3) += clk-ld4.o pll-sld3.o dpll-tail.o
20obj-$(CONFIG_ARCH_UNIPHIER_LD4) += clk-ld4.o pll-ld4.o dpll-tail.o
21obj-$(CONFIG_ARCH_UNIPHIER_PRO4) += clk-pro4.o pll-pro4.o dpll-tail.o
22obj-$(CONFIG_ARCH_UNIPHIER_SLD8) += clk-ld4.o pll-ld4.o dpll-tail.o
Masahiro Yamadaea65c982016-03-18 16:41:43 +090023obj-$(CONFIG_ARCH_UNIPHIER_PRO5) += clk-pro5.o
24obj-$(CONFIG_ARCH_UNIPHIER_PXS2) += clk-pxs2.o
25obj-$(CONFIG_ARCH_UNIPHIER_LD6B) += clk-pxs2.o
Masahiro Yamadac72f4d42016-09-22 07:42:19 +090026obj-$(CONFIG_ARCH_UNIPHIER_LD11) += clk-ld11.o pll-ld11.o
Masahiro Yamadac21f5852017-02-17 16:17:22 +090027obj-$(CONFIG_ARCH_UNIPHIER_LD20) += clk-ld20.o pll-ld20.o
Masahiro Yamada2c2ab3d2017-01-21 18:05:31 +090028obj-$(CONFIG_ARCH_UNIPHIER_PXS3) += pll-pxs3.o
Masahiro Yamadafcc238b2016-09-17 03:33:10 +090029
30endif
Masahiro Yamada682e09f2016-09-17 03:33:11 +090031
Masahiro Yamadac72f4d42016-09-22 07:42:19 +090032obj-$(CONFIG_ARCH_UNIPHIER_LD11) += pll-base-ld20.o
Masahiro Yamada682e09f2016-09-17 03:33:11 +090033obj-$(CONFIG_ARCH_UNIPHIER_LD20) += pll-base-ld20.o