blob: eb2cbc3f7e2b87587a24d4002ce280807ad8d052 [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
10obj-$(CONFIG_MP) += mp.o
11obj-$(CONFIG_OF_LIBFDT) += fdt.o
12obj-$(CONFIG_SPL) += spl.o
13
14ifneq ($(CONFIG_FSL_LSCH3),)
15obj-y += fsl_lsch3_speed.o
16obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch3_serdes.o
Mingkai Hue4e93ea2015-10-26 19:47:51 +080017else
18ifneq ($(CONFIG_FSL_LSCH2),)
19obj-y += fsl_lsch2_speed.o
20obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch2_serdes.o
21endif
Mingkai Hu0e58b512015-10-26 19:47:50 +080022endif
23
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +053024ifneq ($(CONFIG_LS2080A),)
25obj-$(CONFIG_SYS_HAS_SERDES) += ls2080a_serdes.o
Prabhakar Kushwaha77f7ded2015-11-09 16:42:20 +053026endif
27
Mingkai Hueee86ff2015-10-26 19:47:52 +080028ifneq ($(CONFIG_LS1043A),)
29obj-$(CONFIG_SYS_HAS_SERDES) += ls1043a_serdes.o
30endif
Prabhakar Kushwahad169ebe2016-06-03 18:41:31 +053031
32ifneq ($(CONFIG_LS1012A),)
33obj-$(CONFIG_SYS_HAS_SERDES) += ls1012a_serdes.o
34endif