wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 1 | # |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # (C) Copyright 2006 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
wdenk | 9c53f40 | 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 | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 9 | # |
| 10 | |
Scott Wood | 7c81090 | 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 | 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 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 29 | obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o |
| 30 | obj-$(CONFIG_CPM2) += commproc.o |
Kumar Gala | 124b082 | 2008-08-26 15:01:29 -0500 | [diff] [blame] | 31 | |
Kumar Gala | d5a1fb9 | 2008-08-26 21:34:55 -0500 | [diff] [blame] | 32 | # supports ddr1 |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 33 | obj-$(CONFIG_MPC8540) += ddr-gen1.o |
| 34 | obj-$(CONFIG_MPC8560) += ddr-gen1.o |
| 35 | obj-$(CONFIG_MPC8541) += ddr-gen1.o |
| 36 | obj-$(CONFIG_MPC8555) += ddr-gen1.o |
Kumar Gala | d5a1fb9 | 2008-08-26 21:34:55 -0500 | [diff] [blame] | 37 | |
| 38 | # supports ddr1/2 |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 39 | obj-$(CONFIG_MPC8548) += ddr-gen2.o |
| 40 | obj-$(CONFIG_MPC8568) += ddr-gen2.o |
| 41 | obj-$(CONFIG_MPC8544) += ddr-gen2.o |
Kumar Gala | d5a1fb9 | 2008-08-26 21:34:55 -0500 | [diff] [blame] | 42 | |
| 43 | # supports ddr1/2/3 |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 44 | obj-$(CONFIG_PPC_C29X) += ddr-gen3.o |
| 45 | obj-$(CONFIG_MPC8572) += ddr-gen3.o |
| 46 | obj-$(CONFIG_MPC8536) += ddr-gen3.o |
| 47 | obj-$(CONFIG_MPC8569) += ddr-gen3.o |
| 48 | obj-$(CONFIG_P1010) += ddr-gen3.o |
| 49 | obj-$(CONFIG_P1011) += ddr-gen3.o |
| 50 | obj-$(CONFIG_P1012) += ddr-gen3.o |
| 51 | obj-$(CONFIG_P1013) += ddr-gen3.o |
| 52 | obj-$(CONFIG_P1014) += ddr-gen3.o |
| 53 | obj-$(CONFIG_P1020) += ddr-gen3.o |
| 54 | obj-$(CONFIG_P1021) += ddr-gen3.o |
| 55 | obj-$(CONFIG_P1022) += ddr-gen3.o |
| 56 | obj-$(CONFIG_P1023) += ddr-gen3.o |
| 57 | obj-$(CONFIG_P1024) += ddr-gen3.o |
| 58 | obj-$(CONFIG_P1025) += ddr-gen3.o |
| 59 | obj-$(CONFIG_P2010) += ddr-gen3.o |
| 60 | obj-$(CONFIG_P2020) += ddr-gen3.o |
| 61 | obj-$(CONFIG_PPC_P2041) += ddr-gen3.o |
| 62 | obj-$(CONFIG_PPC_P3041) += ddr-gen3.o |
| 63 | obj-$(CONFIG_PPC_P4080) += ddr-gen3.o |
| 64 | obj-$(CONFIG_PPC_P5020) += ddr-gen3.o |
| 65 | obj-$(CONFIG_PPC_P5040) += ddr-gen3.o |
| 66 | obj-$(CONFIG_PPC_T4240) += ddr-gen3.o |
| 67 | obj-$(CONFIG_PPC_T4160) += ddr-gen3.o |
| 68 | obj-$(CONFIG_PPC_B4420) += ddr-gen3.o |
| 69 | obj-$(CONFIG_PPC_B4860) += ddr-gen3.o |
| 70 | obj-$(CONFIG_BSC9131) += ddr-gen3.o |
| 71 | obj-$(CONFIG_BSC9132) += ddr-gen3.o |
| 72 | obj-$(CONFIG_PPC_T1040) += ddr-gen3.o |
Kumar Gala | 124b082 | 2008-08-26 15:01:29 -0500 | [diff] [blame] | 73 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 74 | obj-$(CONFIG_CPM2) += ether_fcc.o |
| 75 | obj-$(CONFIG_OF_LIBFDT) += fdt.o |
| 76 | obj-$(CONFIG_FSL_CORENET) += liodn.o |
| 77 | obj-$(CONFIG_MP) += mp.o |
| 78 | obj-$(CONFIG_PCI) += pci.o |
| 79 | obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o |
Kumar Gala | 38449a4 | 2009-09-10 03:02:13 -0500 | [diff] [blame] | 80 | |
| 81 | # various SoC specific assignments |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 82 | obj-$(CONFIG_PPC_P2041) += p2041_ids.o |
| 83 | obj-$(CONFIG_PPC_P3041) += p3041_ids.o |
| 84 | obj-$(CONFIG_PPC_P4080) += p4080_ids.o |
| 85 | obj-$(CONFIG_PPC_P5020) += p5020_ids.o |
| 86 | obj-$(CONFIG_PPC_P5040) += p5040_ids.o |
| 87 | obj-$(CONFIG_PPC_T4240) += t4240_ids.o |
| 88 | obj-$(CONFIG_PPC_T4160) += t4240_ids.o |
| 89 | obj-$(CONFIG_PPC_B4420) += b4860_ids.o |
| 90 | obj-$(CONFIG_PPC_B4860) += b4860_ids.o |
| 91 | obj-$(CONFIG_PPC_T1040) += t1040_ids.o |
Kumar Gala | 38449a4 | 2009-09-10 03:02:13 -0500 | [diff] [blame] | 92 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 93 | obj-$(CONFIG_QE) += qe_io.o |
| 94 | obj-$(CONFIG_CPM2) += serial_scc.o |
| 95 | obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o |
| 96 | obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o |
Kumar Gala | e5f2ef7 | 2010-12-15 04:07:55 -0600 | [diff] [blame] | 97 | |
| 98 | # SoC specific SERDES support |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 99 | obj-$(CONFIG_PPC_C29X) += c29x_serdes.o |
| 100 | obj-$(CONFIG_MPC8536) += mpc8536_serdes.o |
| 101 | obj-$(CONFIG_MPC8544) += mpc8544_serdes.o |
| 102 | obj-$(CONFIG_MPC8548) += mpc8548_serdes.o |
| 103 | obj-$(CONFIG_MPC8568) += mpc8568_serdes.o |
| 104 | obj-$(CONFIG_MPC8569) += mpc8569_serdes.o |
| 105 | obj-$(CONFIG_MPC8572) += mpc8572_serdes.o |
| 106 | obj-$(CONFIG_P1010) += p1010_serdes.o |
| 107 | obj-$(CONFIG_P1011) += p1021_serdes.o |
| 108 | obj-$(CONFIG_P1012) += p1021_serdes.o |
| 109 | obj-$(CONFIG_P1013) += p1022_serdes.o |
| 110 | obj-$(CONFIG_P1014) += p1010_serdes.o |
| 111 | obj-$(CONFIG_P1017) += p1023_serdes.o |
| 112 | obj-$(CONFIG_P1020) += p1021_serdes.o |
| 113 | obj-$(CONFIG_P1021) += p1021_serdes.o |
| 114 | obj-$(CONFIG_P1022) += p1022_serdes.o |
| 115 | obj-$(CONFIG_P1023) += p1023_serdes.o |
| 116 | obj-$(CONFIG_P1024) += p1021_serdes.o |
| 117 | obj-$(CONFIG_P1025) += p1021_serdes.o |
| 118 | obj-$(CONFIG_P2010) += p2020_serdes.o |
| 119 | obj-$(CONFIG_P2020) += p2020_serdes.o |
| 120 | obj-$(CONFIG_PPC_P2041) += p2041_serdes.o |
| 121 | obj-$(CONFIG_PPC_P3041) += p3041_serdes.o |
| 122 | obj-$(CONFIG_PPC_P4080) += p4080_serdes.o |
| 123 | obj-$(CONFIG_PPC_P5020) += p5020_serdes.o |
| 124 | obj-$(CONFIG_PPC_P5040) += p5040_serdes.o |
| 125 | obj-$(CONFIG_PPC_T4240) += t4240_serdes.o |
| 126 | obj-$(CONFIG_PPC_T4160) += t4240_serdes.o |
| 127 | obj-$(CONFIG_PPC_B4420) += b4860_serdes.o |
| 128 | obj-$(CONFIG_PPC_B4860) += b4860_serdes.o |
| 129 | obj-$(CONFIG_BSC9132) += bsc9132_serdes.o |
| 130 | obj-$(CONFIG_PPC_T1040) += t1040_serdes.o |
Kumar Gala | 591ac07 | 2009-09-02 09:00:50 -0500 | [diff] [blame] | 131 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 132 | obj-y += cpu.o |
| 133 | obj-y += cpu_init.o |
| 134 | obj-y += cpu_init_early.o |
| 135 | obj-y += interrupts.o |
| 136 | obj-y += speed.o |
| 137 | obj-y += tlb.o |
| 138 | obj-y += traps.o |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 139 | |
Marek Vasut | 594f17e | 2012-05-25 16:14:46 +0200 | [diff] [blame] | 140 | # Stub implementations of cache management functions for USB |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 141 | obj-y += cache.o |
Scott Wood | 94db8d6 | 2012-09-25 18:17:45 -0500 | [diff] [blame] | 142 | |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 143 | endif # not minimal |