blob: 0cb6d4eb4df6cb754041cf3d30f6b68d2640353b [file] [log] [blame]
Mingkai Hu0e58b512015-10-26 19:47:50 +08001#
2# Copyright 2014-2015, Freescale Semiconductor
3#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
7obj-y += cpu.o
8obj-y += lowlevel.o
9obj-y += soc.o
Sumit Garge1df3372018-01-06 09:04:23 +053010ifndef CONFIG_SPL_BUILD
Mingkai Hu0e58b512015-10-26 19:47:50 +080011obj-$(CONFIG_MP) += mp.o
12obj-$(CONFIG_OF_LIBFDT) += fdt.o
Sumit Garge1df3372018-01-06 09:04:23 +053013endif
Mingkai Hu0e58b512015-10-26 19:47:50 +080014obj-$(CONFIG_SPL) += spl.o
Hou Zhiqiangbff56d52017-01-16 17:31:49 +080015obj-$(CONFIG_$(SPL_)FSL_LS_PPA) += ppa.o
Mingkai Hu0e58b512015-10-26 19:47:50 +080016
17ifneq ($(CONFIG_FSL_LSCH3),)
18obj-y += fsl_lsch3_speed.o
19obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch3_serdes.o
Mingkai Hue4e93ea2015-10-26 19:47:51 +080020else
21ifneq ($(CONFIG_FSL_LSCH2),)
22obj-y += fsl_lsch2_speed.o
23obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch2_serdes.o
24endif
Mingkai Hu0e58b512015-10-26 19:47:50 +080025endif
26
York Sun4ce6fbf2017-03-27 11:41:01 -070027ifneq ($(CONFIG_ARCH_LS2080A),)
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +053028obj-$(CONFIG_SYS_HAS_SERDES) += ls2080a_serdes.o
Prabhakar Kushwaha77f7ded2015-11-09 16:42:20 +053029endif
30
York Sun342cf062017-03-27 11:41:02 -070031ifneq ($(CONFIG_ARCH_LS1043A),)
Mingkai Hueee86ff2015-10-26 19:47:52 +080032obj-$(CONFIG_SYS_HAS_SERDES) += ls1043a_serdes.o
macro.wave.z@gmail.com51d94212016-12-08 11:58:26 +080033obj-$(CONFIG_ARMV8_PSCI) += ls1043a_psci.o
Mingkai Hueee86ff2015-10-26 19:47:52 +080034endif
Prabhakar Kushwahad169ebe2016-06-03 18:41:31 +053035
York Sunb3d71642016-09-26 08:09:26 -070036ifneq ($(CONFIG_ARCH_LS1012A),)
Prabhakar Kushwahad169ebe2016-06-03 18:41:31 +053037obj-$(CONFIG_SYS_HAS_SERDES) += ls1012a_serdes.o
38endif
Mingkai Hucd54c0f2016-07-05 16:01:55 +080039
York Sunbad49842016-09-26 08:09:24 -070040ifneq ($(CONFIG_ARCH_LS1046A),)
Mingkai Hucd54c0f2016-07-05 16:01:55 +080041obj-$(CONFIG_SYS_HAS_SERDES) += ls1046a_serdes.o
42endif
Ashish Kumarb25faa22017-08-31 16:12:53 +053043
44ifneq ($(CONFIG_ARCH_LS1088A),)
45obj-$(CONFIG_SYS_HAS_SERDES) += ls1088a_serdes.o
46endif