Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 2 | # Copyright 2016-2018 NXP |
Mingkai Hu | 0e58b51 | 2015-10-26 19:47:50 +0800 | [diff] [blame] | 3 | # Copyright 2014-2015, Freescale Semiconductor |
Mingkai Hu | 0e58b51 | 2015-10-26 19:47:50 +0800 | [diff] [blame] | 4 | |
| 5 | obj-y += cpu.o |
| 6 | obj-y += lowlevel.o |
| 7 | obj-y += soc.o |
Sumit Garg | e1df337 | 2018-01-06 09:04:23 +0530 | [diff] [blame] | 8 | ifndef CONFIG_SPL_BUILD |
Mingkai Hu | 0e58b51 | 2015-10-26 19:47:50 +0800 | [diff] [blame] | 9 | obj-$(CONFIG_MP) += mp.o |
| 10 | obj-$(CONFIG_OF_LIBFDT) += fdt.o |
Sumit Garg | e1df337 | 2018-01-06 09:04:23 +0530 | [diff] [blame] | 11 | endif |
Mingkai Hu | 0e58b51 | 2015-10-26 19:47:50 +0800 | [diff] [blame] | 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 | |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 25 | ifneq ($(CONFIG_ARCH_LX2160A),) |
| 26 | obj-$(CONFIG_SYS_HAS_SERDES) += lx2160a_serdes.o |
| 27 | endif |
| 28 | |
York Sun | 4ce6fbf | 2017-03-27 11:41:01 -0700 | [diff] [blame] | 29 | ifneq ($(CONFIG_ARCH_LS2080A),) |
Prabhakar Kushwaha | 122bcfd | 2015-11-09 16:42:07 +0530 | [diff] [blame] | 30 | obj-$(CONFIG_SYS_HAS_SERDES) += ls2080a_serdes.o |
Prabhakar Kushwaha | 77f7ded | 2015-11-09 16:42:20 +0530 | [diff] [blame] | 31 | endif |
| 32 | |
York Sun | 342cf06 | 2017-03-27 11:41:02 -0700 | [diff] [blame] | 33 | ifneq ($(CONFIG_ARCH_LS1043A),) |
Mingkai Hu | eee86ff | 2015-10-26 19:47:52 +0800 | [diff] [blame] | 34 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1043a_serdes.o |
macro.wave.z@gmail.com | 51d9421 | 2016-12-08 11:58:26 +0800 | [diff] [blame] | 35 | obj-$(CONFIG_ARMV8_PSCI) += ls1043a_psci.o |
Laurentiu Tudor | 22012d5 | 2018-08-27 17:33:59 +0300 | [diff] [blame] | 36 | obj-y += icid.o ls1043_ids.o |
Mingkai Hu | eee86ff | 2015-10-26 19:47:52 +0800 | [diff] [blame] | 37 | endif |
Prabhakar Kushwaha | d169ebe | 2016-06-03 18:41:31 +0530 | [diff] [blame] | 38 | |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 39 | ifneq ($(CONFIG_ARCH_LS1012A),) |
Prabhakar Kushwaha | d169ebe | 2016-06-03 18:41:31 +0530 | [diff] [blame] | 40 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1012a_serdes.o |
| 41 | endif |
Mingkai Hu | cd54c0f | 2016-07-05 16:01:55 +0800 | [diff] [blame] | 42 | |
York Sun | bad4984 | 2016-09-26 08:09:24 -0700 | [diff] [blame] | 43 | ifneq ($(CONFIG_ARCH_LS1046A),) |
Mingkai Hu | cd54c0f | 2016-07-05 16:01:55 +0800 | [diff] [blame] | 44 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1046a_serdes.o |
Laurentiu Tudor | 512d13e | 2018-08-09 15:19:46 +0300 | [diff] [blame] | 45 | obj-y += icid.o ls1046_ids.o |
Mingkai Hu | cd54c0f | 2016-07-05 16:01:55 +0800 | [diff] [blame] | 46 | endif |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 47 | |
| 48 | ifneq ($(CONFIG_ARCH_LS1088A),) |
| 49 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1088a_serdes.o |
| 50 | endif |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 51 | |
| 52 | ifneq ($(CONFIG_ARCH_LS1028A),) |
| 53 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1028a_serdes.o |
| 54 | endif |