blob: 3d741b4c4d1b37e737a7f055df0818f446848b1f [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Tom Rinida58dec2015-11-10 01:06:16 +00002
Masahiro Yamadafcc238b2016-09-17 03:33:10 +09003ifdef CONFIG_SPL_BUILD
4
Masahiro Yamada00aa4532017-08-13 09:01:13 +09005obj-$(CONFIG_ARCH_UNIPHIER_LD4) += clk-early-ld4.o clk-dram-ld4.o dpll-ld4.o
6obj-$(CONFIG_ARCH_UNIPHIER_PRO4) += clk-early-ld4.o clk-dram-ld4.o dpll-pro4.o
7obj-$(CONFIG_ARCH_UNIPHIER_SLD8) += clk-early-ld4.o clk-dram-ld4.o dpll-sld8.o
8obj-$(CONFIG_ARCH_UNIPHIER_PRO5) += clk-early-ld4.o clk-dram-pro5.o dpll-pro5.o
9obj-$(CONFIG_ARCH_UNIPHIER_PXS2) += clk-early-ld4.o clk-dram-pxs2.o dpll-pxs2.o
10obj-$(CONFIG_ARCH_UNIPHIER_LD6B) += clk-early-ld4.o clk-dram-pxs2.o dpll-pxs2.o
Masahiro Yamadafcc238b2016-09-17 03:33:10 +090011
12else
13
Masahiro Yamada6a3e4272016-09-17 03:33:09 +090014obj-$(CONFIG_ARCH_UNIPHIER_LD4) += clk-ld4.o pll-ld4.o dpll-tail.o
15obj-$(CONFIG_ARCH_UNIPHIER_PRO4) += clk-pro4.o pll-pro4.o dpll-tail.o
16obj-$(CONFIG_ARCH_UNIPHIER_SLD8) += clk-ld4.o pll-ld4.o dpll-tail.o
Masahiro Yamadaea65c982016-03-18 16:41:43 +090017obj-$(CONFIG_ARCH_UNIPHIER_PRO5) += clk-pro5.o
18obj-$(CONFIG_ARCH_UNIPHIER_PXS2) += clk-pxs2.o
19obj-$(CONFIG_ARCH_UNIPHIER_LD6B) += clk-pxs2.o
Masahiro Yamadac72f4d42016-09-22 07:42:19 +090020obj-$(CONFIG_ARCH_UNIPHIER_LD11) += clk-ld11.o pll-ld11.o
Masahiro Yamadac21f5852017-02-17 16:17:22 +090021obj-$(CONFIG_ARCH_UNIPHIER_LD20) += clk-ld20.o pll-ld20.o
Masahiro Yamada81afa9c2017-05-15 14:26:33 +090022obj-$(CONFIG_ARCH_UNIPHIER_PXS3) += clk-pxs3.o pll-pxs3.o
Masahiro Yamadafcc238b2016-09-17 03:33:10 +090023
24endif
Masahiro Yamada682e09f2016-09-17 03:33:11 +090025
Masahiro Yamadac72f4d42016-09-22 07:42:19 +090026obj-$(CONFIG_ARCH_UNIPHIER_LD11) += pll-base-ld20.o
Masahiro Yamada682e09f2016-09-17 03:33:11 +090027obj-$(CONFIG_ARCH_UNIPHIER_LD20) += pll-base-ld20.o
Masahiro Yamada00ed0e32017-12-06 13:16:45 +090028obj-$(CONFIG_ARCH_UNIPHIER_PXS3) += pll-base-ld20.o