wdenk | 42d1f03 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 1 | # |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # (C) Copyright 2006 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
wdenk | 42d1f03 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 5 | # (C) Copyright 2002,2003 Motorola Inc. |
| 6 | # Xianghua Xiao,X.Xiao@motorola.com |
| 7 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 42d1f03 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 9 | # |
| 10 | |
Scott Wood | 4b91972 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 11 | MINIMAL= |
| 12 | |
| 13 | ifdef CONFIG_SPL_BUILD |
| 14 | ifdef CONFIG_SPL_INIT_MINIMAL |
| 15 | MINIMAL=y |
| 16 | endif |
| 17 | endif |
| 18 | |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 19 | extra-y = start.o resetvec.o |
Scott Wood | 4b91972 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 20 | |
| 21 | ifdef MINIMAL |
| 22 | |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 23 | obj-y += cpu_init_early.o tlb.o spl_minimal.o |
Scott Wood | 4b91972 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 24 | |
| 25 | else |
| 26 | |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 27 | obj-$(CONFIG_MP) += release.o |
Kumar Gala | 5052a77 | 2009-09-02 09:00:50 -0500 | [diff] [blame] | 28 | |
Marek Vasut | 12c67d7 | 2016-07-05 17:40:27 +0200 | [diff] [blame] | 29 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 30 | obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o |
Marek Vasut | 12c67d7 | 2016-07-05 17:40:27 +0200 | [diff] [blame] | 31 | endif |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 32 | obj-$(CONFIG_CPM2) += commproc.o |
Kumar Gala | 58e5e9a | 2008-08-26 15:01:29 -0500 | [diff] [blame] | 33 | |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 34 | obj-$(CONFIG_CPM2) += ether_fcc.o |
| 35 | obj-$(CONFIG_OF_LIBFDT) += fdt.o |
| 36 | obj-$(CONFIG_FSL_CORENET) += liodn.o |
| 37 | obj-$(CONFIG_MP) += mp.o |
| 38 | obj-$(CONFIG_PCI) += pci.o |
| 39 | obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o |
Kumar Gala | db977ab | 2009-09-10 03:02:13 -0500 | [diff] [blame] | 40 | |
| 41 | # various SoC specific assignments |
York Sun | ce040c8 | 2016-11-18 11:15:21 -0800 | [diff] [blame] | 42 | obj-$(CONFIG_ARCH_P2041) += p2041_ids.o |
York Sun | 5e5fdd2 | 2016-11-18 11:20:40 -0800 | [diff] [blame] | 43 | obj-$(CONFIG_ARCH_P3041) += p3041_ids.o |
York Sun | e71372c | 2016-11-18 11:24:40 -0800 | [diff] [blame] | 44 | obj-$(CONFIG_ARCH_P4080) += p4080_ids.o |
York Sun | cefe11c | 2016-11-18 11:30:56 -0800 | [diff] [blame] | 45 | obj-$(CONFIG_ARCH_P5020) += p5020_ids.o |
York Sun | 9539036 | 2016-11-18 11:39:36 -0800 | [diff] [blame] | 46 | obj-$(CONFIG_ARCH_P5040) += p5040_ids.o |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 47 | obj-$(CONFIG_PPC_T4240) += t4240_ids.o |
| 48 | obj-$(CONFIG_PPC_T4160) += t4240_ids.o |
Shengzhou Liu | 5122dfa | 2014-04-25 16:31:22 +0800 | [diff] [blame] | 49 | obj-$(CONFIG_PPC_T4080) += t4240_ids.o |
York Sun | b41f192 | 2016-11-18 11:56:57 -0800 | [diff] [blame] | 50 | obj-$(CONFIG_ARCH_B4420) += b4860_ids.o |
York Sun | 3006ebc | 2016-11-18 11:44:43 -0800 | [diff] [blame] | 51 | obj-$(CONFIG_ARCH_B4860) += b4860_ids.o |
York Sun | 5d73701 | 2016-11-18 13:11:12 -0800 | [diff] [blame] | 52 | obj-$(CONFIG_ARCH_T1040) += t1040_ids.o |
Priyanka Jain | 2967af6 | 2013-10-18 12:30:21 +0530 | [diff] [blame] | 53 | obj-$(CONFIG_PPC_T1042) += t1040_ids.o |
| 54 | obj-$(CONFIG_PPC_T1020) += t1040_ids.o |
| 55 | obj-$(CONFIG_PPC_T1022) += t1040_ids.o |
York Sun | 5ff3f41 | 2016-11-18 12:35:47 -0800 | [diff] [blame] | 56 | obj-$(CONFIG_ARCH_T1023) += t1024_ids.o |
York Sun | e5d5f5a | 2016-11-18 13:01:34 -0800 | [diff] [blame] | 57 | obj-$(CONFIG_ARCH_T1024) += t1024_ids.o |
Shengzhou Liu | 629d6b3 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 58 | obj-$(CONFIG_PPC_T2080) += t2080_ids.o |
| 59 | obj-$(CONFIG_PPC_T2081) += t2080_ids.o |
Priyanka Jain | 2967af6 | 2013-10-18 12:30:21 +0530 | [diff] [blame] | 60 | |
Kumar Gala | db977ab | 2009-09-10 03:02:13 -0500 | [diff] [blame] | 61 | |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 62 | obj-$(CONFIG_QE) += qe_io.o |
| 63 | obj-$(CONFIG_CPM2) += serial_scc.o |
| 64 | obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o |
| 65 | obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o |
Kumar Gala | c5780a6 | 2010-12-15 04:07:55 -0600 | [diff] [blame] | 66 | |
| 67 | # SoC specific SERDES support |
York Sun | 4fd6474 | 2016-11-15 18:44:22 -0800 | [diff] [blame] | 68 | obj-$(CONFIG_ARCH_C29X) += c29x_serdes.o |
York Sun | 24ad75a | 2016-11-16 11:06:47 -0800 | [diff] [blame] | 69 | obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o |
York Sun | 25cb74b | 2016-11-15 13:57:15 -0800 | [diff] [blame] | 70 | obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o |
York Sun | 281ed4c | 2016-11-15 13:52:34 -0800 | [diff] [blame] | 71 | obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o |
York Sun | d07c384 | 2016-11-16 11:32:17 -0800 | [diff] [blame] | 72 | obj-$(CONFIG_ARCH_MPC8568) += mpc8568_serdes.o |
York Sun | 23b36a7 | 2016-11-16 11:34:52 -0800 | [diff] [blame] | 73 | obj-$(CONFIG_ARCH_MPC8569) += mpc8569_serdes.o |
York Sun | c8f4847 | 2016-11-16 11:39:20 -0800 | [diff] [blame] | 74 | obj-$(CONFIG_ARCH_MPC8572) += mpc8572_serdes.o |
York Sun | 7d5f9f8 | 2016-11-16 13:08:52 -0800 | [diff] [blame] | 75 | obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o |
York Sun | 1cdd96f | 2016-11-16 15:54:15 -0800 | [diff] [blame] | 76 | obj-$(CONFIG_ARCH_P1011) += p1021_serdes.o |
York Sun | 484fff6 | 2016-11-18 10:02:14 -0800 | [diff] [blame] | 77 | obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o |
York Sun | a990799 | 2016-11-18 10:59:02 -0800 | [diff] [blame] | 78 | obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o |
York Sun | feb9e25 | 2016-11-16 15:23:52 -0800 | [diff] [blame] | 79 | obj-$(CONFIG_ARCH_P1022) += p1022_serdes.o |
York Sun | 9bb1d6b | 2016-11-16 15:45:31 -0800 | [diff] [blame] | 80 | obj-$(CONFIG_ARCH_P1023) += p1023_serdes.o |
York Sun | 52b6f13 | 2016-11-18 11:00:57 -0800 | [diff] [blame] | 81 | obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o |
York Sun | 4167a67 | 2016-11-18 11:05:38 -0800 | [diff] [blame] | 82 | obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o |
York Sun | 4593637 | 2016-11-18 11:08:43 -0800 | [diff] [blame] | 83 | obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o |
York Sun | ce040c8 | 2016-11-18 11:15:21 -0800 | [diff] [blame] | 84 | obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o |
York Sun | 5e5fdd2 | 2016-11-18 11:20:40 -0800 | [diff] [blame] | 85 | obj-$(CONFIG_ARCH_P3041) += p3041_serdes.o |
York Sun | e71372c | 2016-11-18 11:24:40 -0800 | [diff] [blame] | 86 | obj-$(CONFIG_ARCH_P4080) += p4080_serdes.o |
York Sun | cefe11c | 2016-11-18 11:30:56 -0800 | [diff] [blame] | 87 | obj-$(CONFIG_ARCH_P5020) += p5020_serdes.o |
York Sun | 9539036 | 2016-11-18 11:39:36 -0800 | [diff] [blame] | 88 | obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 89 | obj-$(CONFIG_PPC_T4240) += t4240_serdes.o |
| 90 | obj-$(CONFIG_PPC_T4160) += t4240_serdes.o |
Shengzhou Liu | 5122dfa | 2014-04-25 16:31:22 +0800 | [diff] [blame] | 91 | obj-$(CONFIG_PPC_T4080) += t4240_serdes.o |
York Sun | b41f192 | 2016-11-18 11:56:57 -0800 | [diff] [blame] | 92 | obj-$(CONFIG_ARCH_B4420) += b4860_serdes.o |
York Sun | 3006ebc | 2016-11-18 11:44:43 -0800 | [diff] [blame] | 93 | obj-$(CONFIG_ARCH_B4860) += b4860_serdes.o |
York Sun | 115d60c | 2016-11-15 14:09:50 -0800 | [diff] [blame] | 94 | obj-$(CONFIG_ARCH_BSC9132) += bsc9132_serdes.o |
York Sun | 5d73701 | 2016-11-18 13:11:12 -0800 | [diff] [blame] | 95 | obj-$(CONFIG_ARCH_T1040) += t1040_serdes.o |
Priyanka Jain | 2967af6 | 2013-10-18 12:30:21 +0530 | [diff] [blame] | 96 | obj-$(CONFIG_PPC_T1042) += t1040_serdes.o |
| 97 | obj-$(CONFIG_PPC_T1020) += t1040_serdes.o |
| 98 | obj-$(CONFIG_PPC_T1022) += t1040_serdes.o |
York Sun | 5ff3f41 | 2016-11-18 12:35:47 -0800 | [diff] [blame] | 99 | obj-$(CONFIG_ARCH_T1023) += t1024_serdes.o |
York Sun | e5d5f5a | 2016-11-18 13:01:34 -0800 | [diff] [blame] | 100 | obj-$(CONFIG_ARCH_T1024) += t1024_serdes.o |
Shengzhou Liu | 629d6b3 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 101 | obj-$(CONFIG_PPC_T2080) += t2080_serdes.o |
| 102 | obj-$(CONFIG_PPC_T2081) += t2080_serdes.o |
Kumar Gala | 5052a77 | 2009-09-02 09:00:50 -0500 | [diff] [blame] | 103 | |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 104 | obj-y += cpu.o |
| 105 | obj-y += cpu_init.o |
| 106 | obj-y += cpu_init_early.o |
| 107 | obj-y += interrupts.o |
York Sun | 1034340 | 2016-11-18 12:29:51 -0800 | [diff] [blame] | 108 | ifneq ($(CONFIG_ARCH_QEMU_E500),y) |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 109 | obj-y += speed.o |
Alexander Graf | fa08d39 | 2014-04-11 17:09:45 +0200 | [diff] [blame] | 110 | endif |
Masahiro Yamada | 06c1411 | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 111 | obj-y += tlb.o |
| 112 | obj-y += traps.o |
wdenk | 42d1f03 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 113 | |
Scott Wood | 4b91972 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 114 | endif # not minimal |