Mingkai Hu | 0e58b51 | 2015-10-26 19:47:50 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2014-2015, Freescale Semiconductor |
| 3 | # |
| 4 | # SPDX-License-Identifier: GPL-2.0+ |
| 5 | # |
| 6 | |
| 7 | obj-y += cpu.o |
| 8 | obj-y += lowlevel.o |
| 9 | obj-y += soc.o |
| 10 | obj-$(CONFIG_MP) += mp.o |
| 11 | obj-$(CONFIG_OF_LIBFDT) += fdt.o |
| 12 | obj-$(CONFIG_SPL) += spl.o |
Hou Zhiqiang | bff56d5 | 2017-01-16 17:31:49 +0800 | [diff] [blame] | 13 | obj-$(CONFIG_$(SPL_)FSL_LS_PPA) += ppa.o |
Mingkai Hu | 0e58b51 | 2015-10-26 19:47:50 +0800 | [diff] [blame] | 14 | |
| 15 | ifneq ($(CONFIG_FSL_LSCH3),) |
| 16 | obj-y += fsl_lsch3_speed.o |
| 17 | obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch3_serdes.o |
Mingkai Hu | e4e93ea | 2015-10-26 19:47:51 +0800 | [diff] [blame] | 18 | else |
| 19 | ifneq ($(CONFIG_FSL_LSCH2),) |
| 20 | obj-y += fsl_lsch2_speed.o |
| 21 | obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch2_serdes.o |
| 22 | endif |
Mingkai Hu | 0e58b51 | 2015-10-26 19:47:50 +0800 | [diff] [blame] | 23 | endif |
| 24 | |
York Sun | 4ce6fbf | 2017-03-27 11:41:01 -0700 | [diff] [blame] | 25 | ifneq ($(CONFIG_ARCH_LS2080A),) |
Prabhakar Kushwaha | 122bcfd | 2015-11-09 16:42:07 +0530 | [diff] [blame] | 26 | obj-$(CONFIG_SYS_HAS_SERDES) += ls2080a_serdes.o |
Prabhakar Kushwaha | 77f7ded | 2015-11-09 16:42:20 +0530 | [diff] [blame] | 27 | endif |
| 28 | |
York Sun | 342cf06 | 2017-03-27 11:41:02 -0700 | [diff] [blame] | 29 | ifneq ($(CONFIG_ARCH_LS1043A),) |
Mingkai Hu | eee86ff | 2015-10-26 19:47:52 +0800 | [diff] [blame] | 30 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1043a_serdes.o |
macro.wave.z@gmail.com | 51d9421 | 2016-12-08 11:58:26 +0800 | [diff] [blame] | 31 | obj-$(CONFIG_ARMV8_PSCI) += ls1043a_psci.o |
Mingkai Hu | eee86ff | 2015-10-26 19:47:52 +0800 | [diff] [blame] | 32 | endif |
Prabhakar Kushwaha | d169ebe | 2016-06-03 18:41:31 +0530 | [diff] [blame] | 33 | |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 34 | ifneq ($(CONFIG_ARCH_LS1012A),) |
Prabhakar Kushwaha | d169ebe | 2016-06-03 18:41:31 +0530 | [diff] [blame] | 35 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1012a_serdes.o |
| 36 | endif |
Mingkai Hu | cd54c0f | 2016-07-05 16:01:55 +0800 | [diff] [blame] | 37 | |
York Sun | bad4984 | 2016-09-26 08:09:24 -0700 | [diff] [blame] | 38 | ifneq ($(CONFIG_ARCH_LS1046A),) |
Mingkai Hu | cd54c0f | 2016-07-05 16:01:55 +0800 | [diff] [blame] | 39 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1046a_serdes.o |
| 40 | endif |