blob: 598c36ee660a834f0507872071e12eb9b77792aa [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Priyanka Jainef76b2e2018-10-29 09:17:09 +00002# Copyright 2016-2018 NXP
Mingkai Hu0e58b512015-10-26 19:47:50 +08003# Copyright 2014-2015, Freescale Semiconductor
Mingkai Hu0e58b512015-10-26 19:47:50 +08004
5obj-y += cpu.o
6obj-y += lowlevel.o
7obj-y += soc.o
Sumit Garge1df3372018-01-06 09:04:23 +05308ifndef CONFIG_SPL_BUILD
Michael Walle53ec9992020-06-01 21:53:27 +02009obj-$(CONFIG_MP) += mp.o spintable.o
Mingkai Hu0e58b512015-10-26 19:47:50 +080010obj-$(CONFIG_OF_LIBFDT) += fdt.o
Sumit Garge1df3372018-01-06 09:04:23 +053011endif
Mingkai Hu0e58b512015-10-26 19:47:50 +080012obj-$(CONFIG_SPL) += spl.o
Hou Zhiqiangbff56d52017-01-16 17:31:49 +080013obj-$(CONFIG_$(SPL_)FSL_LS_PPA) += ppa.o
Mingkai Hu0e58b512015-10-26 19:47:50 +080014
15ifneq ($(CONFIG_FSL_LSCH3),)
16obj-y += fsl_lsch3_speed.o
17obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch3_serdes.o
Mingkai Hue4e93ea2015-10-26 19:47:51 +080018else
19ifneq ($(CONFIG_FSL_LSCH2),)
20obj-y += fsl_lsch2_speed.o
21obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch2_serdes.o
22endif
Mingkai Hu0e58b512015-10-26 19:47:50 +080023endif
24
Priyanka Jainef76b2e2018-10-29 09:17:09 +000025ifneq ($(CONFIG_ARCH_LX2160A),)
26obj-$(CONFIG_SYS_HAS_SERDES) += lx2160a_serdes.o
Laurentiu Tudor7085d072019-10-18 09:01:55 +000027obj-y += icid.o lx2160_ids.o
Priyanka Jainef76b2e2018-10-29 09:17:09 +000028endif
29
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +053030ifneq ($(CONFIG_ARCH_LX2162A),)
31obj-$(CONFIG_SYS_HAS_SERDES) += lx2160a_serdes.o
32obj-y += icid.o lx2160_ids.o
33endif
34
York Sun4ce6fbf2017-03-27 11:41:01 -070035ifneq ($(CONFIG_ARCH_LS2080A),)
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +053036obj-$(CONFIG_SYS_HAS_SERDES) += ls2080a_serdes.o
Laurentiu Tudor4adff392019-10-18 09:01:54 +000037obj-y += icid.o ls2088_ids.o
Prabhakar Kushwaha77f7ded2015-11-09 16:42:20 +053038endif
39
York Sun342cf062017-03-27 11:41:02 -070040ifneq ($(CONFIG_ARCH_LS1043A),)
Mingkai Hueee86ff2015-10-26 19:47:52 +080041obj-$(CONFIG_SYS_HAS_SERDES) += ls1043a_serdes.o
macro.wave.z@gmail.com51d94212016-12-08 11:58:26 +080042obj-$(CONFIG_ARMV8_PSCI) += ls1043a_psci.o
Laurentiu Tudor22012d52018-08-27 17:33:59 +030043obj-y += icid.o ls1043_ids.o
Mingkai Hueee86ff2015-10-26 19:47:52 +080044endif
Prabhakar Kushwahad169ebe2016-06-03 18:41:31 +053045
York Sunb3d71642016-09-26 08:09:26 -070046ifneq ($(CONFIG_ARCH_LS1012A),)
Prabhakar Kushwahad169ebe2016-06-03 18:41:31 +053047obj-$(CONFIG_SYS_HAS_SERDES) += ls1012a_serdes.o
48endif
Mingkai Hucd54c0f2016-07-05 16:01:55 +080049
York Sunbad49842016-09-26 08:09:24 -070050ifneq ($(CONFIG_ARCH_LS1046A),)
Mingkai Hucd54c0f2016-07-05 16:01:55 +080051obj-$(CONFIG_SYS_HAS_SERDES) += ls1046a_serdes.o
Laurentiu Tudor512d13e2018-08-09 15:19:46 +030052obj-y += icid.o ls1046_ids.o
Mingkai Hucd54c0f2016-07-05 16:01:55 +080053endif
Ashish Kumarb25faa22017-08-31 16:12:53 +053054
55ifneq ($(CONFIG_ARCH_LS1088A),)
56obj-$(CONFIG_SYS_HAS_SERDES) += ls1088a_serdes.o
Laurentiu Tudor7690ea72019-07-30 17:29:58 +030057obj-y += icid.o ls1088_ids.o
Ashish Kumarb25faa22017-08-31 16:12:53 +053058endif
Yuantian Tang4aefa162019-04-10 16:43:33 +080059
60ifneq ($(CONFIG_ARCH_LS1028A),)
61obj-$(CONFIG_SYS_HAS_SERDES) += ls1028a_serdes.o
Laurentiu Tudor01dc5472019-07-30 17:29:59 +030062obj-y += icid.o ls1028_ids.o
Yuantian Tang4aefa162019-04-10 16:43:33 +080063endif