Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 2 | # |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 3 | # (C) Copyright 2006 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 5 | # |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 6 | # (C) Copyright 2002,2003 Motorola Inc. |
| 7 | # Xianghua Xiao,X.Xiao@motorola.com |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 8 | |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 9 | MINIMAL= |
| 10 | |
| 11 | ifdef CONFIG_SPL_BUILD |
Tom Rini | 6b15c16 | 2022-05-13 12:26:35 -0400 | [diff] [blame] | 12 | ifndef CONFIG_TPL_BUILD |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 13 | ifdef CONFIG_SPL_INIT_MINIMAL |
| 14 | MINIMAL=y |
| 15 | endif |
| 16 | endif |
Tom Rini | 6b15c16 | 2022-05-13 12:26:35 -0400 | [diff] [blame] | 17 | endif |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 18 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 19 | extra-y = start.o resetvec.o |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 20 | |
| 21 | ifdef MINIMAL |
| 22 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 23 | obj-y += cpu_init_early.o tlb.o spl_minimal.o |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 24 | |
| 25 | else |
| 26 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 27 | obj-$(CONFIG_MP) += release.o |
Kumar Gala | 591ac07 | 2009-09-02 09:00:50 -0500 | [diff] [blame] | 28 | |
Marek Vasut | ac91872 | 2016-07-05 17:40:27 +0200 | [diff] [blame] | 29 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 30 | obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o |
Marek Vasut | ac91872 | 2016-07-05 17:40:27 +0200 | [diff] [blame] | 31 | endif |
Kumar Gala | 124b082 | 2008-08-26 15:01:29 -0500 | [diff] [blame] | 32 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_OF_LIBFDT) += fdt.o |
| 34 | obj-$(CONFIG_FSL_CORENET) += liodn.o |
| 35 | obj-$(CONFIG_MP) += mp.o |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 36 | obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o |
Kumar Gala | 38449a4 | 2009-09-10 03:02:13 -0500 | [diff] [blame] | 37 | |
| 38 | # various SoC specific assignments |
York Sun | 5786fca | 2016-11-18 11:15:21 -0800 | [diff] [blame] | 39 | obj-$(CONFIG_ARCH_P2041) += p2041_ids.o |
York Sun | df70d06 | 2016-11-18 11:20:40 -0800 | [diff] [blame] | 40 | obj-$(CONFIG_ARCH_P3041) += p3041_ids.o |
York Sun | 84be8a9 | 2016-11-18 11:24:40 -0800 | [diff] [blame] | 41 | obj-$(CONFIG_ARCH_P4080) += p4080_ids.o |
York Sun | a3c5b66 | 2016-11-18 11:39:36 -0800 | [diff] [blame] | 42 | obj-$(CONFIG_ARCH_P5040) += p5040_ids.o |
York Sun | 0fad326 | 2016-11-21 13:35:41 -0800 | [diff] [blame] | 43 | obj-$(CONFIG_ARCH_T4240) += t4240_ids.o |
York Sun | fda566d | 2016-11-18 11:56:57 -0800 | [diff] [blame] | 44 | obj-$(CONFIG_ARCH_B4420) += b4860_ids.o |
York Sun | 68eaa9a | 2016-11-18 11:44:43 -0800 | [diff] [blame] | 45 | obj-$(CONFIG_ARCH_B4860) += b4860_ids.o |
York Sun | a5b5d88 | 2016-11-18 13:11:12 -0800 | [diff] [blame] | 46 | obj-$(CONFIG_ARCH_T1040) += t1040_ids.o |
York Sun | 2d7b2d4 | 2016-11-18 13:36:39 -0800 | [diff] [blame] | 47 | obj-$(CONFIG_ARCH_T1042) += t1040_ids.o |
York Sun | 7d29dd6 | 2016-11-18 13:01:34 -0800 | [diff] [blame] | 48 | obj-$(CONFIG_ARCH_T1024) += t1024_ids.o |
York Sun | e20c685 | 2016-11-21 12:54:19 -0800 | [diff] [blame] | 49 | obj-$(CONFIG_ARCH_T2080) += t2080_ids.o |
Priyanka Jain | 94dce8b | 2013-10-18 12:30:21 +0530 | [diff] [blame] | 50 | |
Kumar Gala | 38449a4 | 2009-09-10 03:02:13 -0500 | [diff] [blame] | 51 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 52 | obj-$(CONFIG_QE) += qe_io.o |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 53 | obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o |
| 54 | obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o |
Kumar Gala | e5f2ef7 | 2010-12-15 04:07:55 -0600 | [diff] [blame] | 55 | |
| 56 | # SoC specific SERDES support |
York Sun | 4119aee | 2016-11-15 18:44:22 -0800 | [diff] [blame] | 57 | obj-$(CONFIG_ARCH_C29X) += c29x_serdes.o |
York Sun | 5557d6b | 2016-11-16 11:06:47 -0800 | [diff] [blame] | 58 | obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o |
York Sun | 5ac012a | 2016-11-15 13:57:15 -0800 | [diff] [blame] | 59 | obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o |
York Sun | efc49e0 | 2016-11-15 13:52:34 -0800 | [diff] [blame] | 60 | obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o |
York Sun | 24f88b3 | 2016-11-16 13:08:52 -0800 | [diff] [blame] | 61 | obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o |
York Sun | 3680e59 | 2016-11-16 15:54:15 -0800 | [diff] [blame] | 62 | obj-$(CONFIG_ARCH_P1011) += p1021_serdes.o |
York Sun | af2dc81 | 2016-11-18 10:02:14 -0800 | [diff] [blame] | 63 | obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o |
York Sun | 2f924be | 2016-11-18 10:59:02 -0800 | [diff] [blame] | 64 | obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o |
York Sun | feeaae2 | 2016-11-16 15:45:31 -0800 | [diff] [blame] | 65 | obj-$(CONFIG_ARCH_P1023) += p1023_serdes.o |
York Sun | 76780b2 | 2016-11-18 11:00:57 -0800 | [diff] [blame] | 66 | obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o |
York Sun | 0f57797 | 2016-11-18 11:05:38 -0800 | [diff] [blame] | 67 | obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o |
York Sun | 4b08dd7 | 2016-11-18 11:08:43 -0800 | [diff] [blame] | 68 | obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o |
York Sun | 5786fca | 2016-11-18 11:15:21 -0800 | [diff] [blame] | 69 | obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o |
York Sun | df70d06 | 2016-11-18 11:20:40 -0800 | [diff] [blame] | 70 | obj-$(CONFIG_ARCH_P3041) += p3041_serdes.o |
York Sun | 84be8a9 | 2016-11-18 11:24:40 -0800 | [diff] [blame] | 71 | obj-$(CONFIG_ARCH_P4080) += p4080_serdes.o |
York Sun | a3c5b66 | 2016-11-18 11:39:36 -0800 | [diff] [blame] | 72 | obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o |
York Sun | 0fad326 | 2016-11-21 13:35:41 -0800 | [diff] [blame] | 73 | obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o |
York Sun | fda566d | 2016-11-18 11:56:57 -0800 | [diff] [blame] | 74 | obj-$(CONFIG_ARCH_B4420) += b4860_serdes.o |
York Sun | 68eaa9a | 2016-11-18 11:44:43 -0800 | [diff] [blame] | 75 | obj-$(CONFIG_ARCH_B4860) += b4860_serdes.o |
York Sun | a80bdf7 | 2016-11-15 14:09:50 -0800 | [diff] [blame] | 76 | obj-$(CONFIG_ARCH_BSC9132) += bsc9132_serdes.o |
York Sun | a5b5d88 | 2016-11-18 13:11:12 -0800 | [diff] [blame] | 77 | obj-$(CONFIG_ARCH_T1040) += t1040_serdes.o |
York Sun | 2d7b2d4 | 2016-11-18 13:36:39 -0800 | [diff] [blame] | 78 | obj-$(CONFIG_ARCH_T1042) += t1040_serdes.o |
York Sun | 7d29dd6 | 2016-11-18 13:01:34 -0800 | [diff] [blame] | 79 | obj-$(CONFIG_ARCH_T1024) += t1024_serdes.o |
York Sun | e20c685 | 2016-11-21 12:54:19 -0800 | [diff] [blame] | 80 | obj-$(CONFIG_ARCH_T2080) += t2080_serdes.o |
Kumar Gala | 591ac07 | 2009-09-02 09:00:50 -0500 | [diff] [blame] | 81 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 82 | obj-y += cpu.o |
| 83 | obj-y += cpu_init.o |
| 84 | obj-y += cpu_init_early.o |
| 85 | obj-y += interrupts.o |
York Sun | 51e91e8 | 2016-11-18 12:29:51 -0800 | [diff] [blame] | 86 | ifneq ($(CONFIG_ARCH_QEMU_E500),y) |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 87 | obj-y += speed.o |
Alexander Graf | c346848 | 2014-04-11 17:09:45 +0200 | [diff] [blame] | 88 | endif |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 89 | obj-y += tlb.o |
| 90 | obj-y += traps.o |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 91 | |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 92 | endif # not minimal |