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 |
Michael Walle | 53ec999 | 2020-06-01 21:53:27 +0200 | [diff] [blame] | 9 | obj-$(CONFIG_MP) += mp.o spintable.o |
Mingkai Hu | 0e58b51 | 2015-10-26 19:47:50 +0800 | [diff] [blame] | 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 |
| 13 | |
| 14 | ifneq ($(CONFIG_FSL_LSCH3),) |
| 15 | obj-y += fsl_lsch3_speed.o |
| 16 | obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch3_serdes.o |
Mingkai Hu | e4e93ea | 2015-10-26 19:47:51 +0800 | [diff] [blame] | 17 | else |
| 18 | ifneq ($(CONFIG_FSL_LSCH2),) |
| 19 | obj-y += fsl_lsch2_speed.o |
| 20 | obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch2_serdes.o |
| 21 | endif |
Mingkai Hu | 0e58b51 | 2015-10-26 19:47:50 +0800 | [diff] [blame] | 22 | endif |
| 23 | |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 24 | ifneq ($(CONFIG_ARCH_LX2160A),) |
| 25 | obj-$(CONFIG_SYS_HAS_SERDES) += lx2160a_serdes.o |
Laurentiu Tudor | 7085d07 | 2019-10-18 09:01:55 +0000 | [diff] [blame] | 26 | obj-y += icid.o lx2160_ids.o |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 27 | endif |
| 28 | |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 29 | ifneq ($(CONFIG_ARCH_LX2162A),) |
| 30 | obj-$(CONFIG_SYS_HAS_SERDES) += lx2160a_serdes.o |
| 31 | obj-y += icid.o lx2160_ids.o |
| 32 | endif |
| 33 | |
York Sun | 4ce6fbf | 2017-03-27 11:41:01 -0700 | [diff] [blame] | 34 | ifneq ($(CONFIG_ARCH_LS2080A),) |
Prabhakar Kushwaha | 122bcfd | 2015-11-09 16:42:07 +0530 | [diff] [blame] | 35 | obj-$(CONFIG_SYS_HAS_SERDES) += ls2080a_serdes.o |
Laurentiu Tudor | 4adff39 | 2019-10-18 09:01:54 +0000 | [diff] [blame] | 36 | obj-y += icid.o ls2088_ids.o |
Prabhakar Kushwaha | 77f7ded | 2015-11-09 16:42:20 +0530 | [diff] [blame] | 37 | endif |
| 38 | |
York Sun | 342cf06 | 2017-03-27 11:41:02 -0700 | [diff] [blame] | 39 | ifneq ($(CONFIG_ARCH_LS1043A),) |
Mingkai Hu | eee86ff | 2015-10-26 19:47:52 +0800 | [diff] [blame] | 40 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1043a_serdes.o |
macro.wave.z@gmail.com | 51d9421 | 2016-12-08 11:58:26 +0800 | [diff] [blame] | 41 | obj-$(CONFIG_ARMV8_PSCI) += ls1043a_psci.o |
Laurentiu Tudor | 22012d5 | 2018-08-27 17:33:59 +0300 | [diff] [blame] | 42 | obj-y += icid.o ls1043_ids.o |
Mingkai Hu | eee86ff | 2015-10-26 19:47:52 +0800 | [diff] [blame] | 43 | endif |
Prabhakar Kushwaha | d169ebe | 2016-06-03 18:41:31 +0530 | [diff] [blame] | 44 | |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 45 | ifneq ($(CONFIG_ARCH_LS1012A),) |
Prabhakar Kushwaha | d169ebe | 2016-06-03 18:41:31 +0530 | [diff] [blame] | 46 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1012a_serdes.o |
| 47 | endif |
Mingkai Hu | cd54c0f | 2016-07-05 16:01:55 +0800 | [diff] [blame] | 48 | |
York Sun | bad4984 | 2016-09-26 08:09:24 -0700 | [diff] [blame] | 49 | ifneq ($(CONFIG_ARCH_LS1046A),) |
Mingkai Hu | cd54c0f | 2016-07-05 16:01:55 +0800 | [diff] [blame] | 50 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1046a_serdes.o |
Laurentiu Tudor | 512d13e | 2018-08-09 15:19:46 +0300 | [diff] [blame] | 51 | obj-y += icid.o ls1046_ids.o |
Mingkai Hu | cd54c0f | 2016-07-05 16:01:55 +0800 | [diff] [blame] | 52 | endif |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 53 | |
| 54 | ifneq ($(CONFIG_ARCH_LS1088A),) |
| 55 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1088a_serdes.o |
Laurentiu Tudor | 7690ea7 | 2019-07-30 17:29:58 +0300 | [diff] [blame] | 56 | obj-y += icid.o ls1088_ids.o |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 57 | endif |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 58 | |
| 59 | ifneq ($(CONFIG_ARCH_LS1028A),) |
| 60 | obj-$(CONFIG_SYS_HAS_SERDES) += ls1028a_serdes.o |
Laurentiu Tudor | 01dc547 | 2019-07-30 17:29:59 +0300 | [diff] [blame] | 61 | obj-y += icid.o ls1028_ids.o |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 62 | endif |