Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Kim Phillips | 53b3498 | 2007-08-21 17:00:17 -0500 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2006 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Kim Phillips | 53b3498 | 2007-08-21 17:00:17 -0500 | [diff] [blame] | 5 | |
Prabhakar Kushwaha | ab4ab01 | 2013-04-16 13:27:59 +0530 | [diff] [blame] | 6 | MINIMAL= |
| 7 | |
| 8 | ifdef CONFIG_SPL_BUILD |
Tom Rini | 6b15c16 | 2022-05-13 12:26:35 -0400 | [diff] [blame] | 9 | ifndef CONFIG_TPL_BUILD |
Prabhakar Kushwaha | ab4ab01 | 2013-04-16 13:27:59 +0530 | [diff] [blame] | 10 | ifdef CONFIG_SPL_INIT_MINIMAL |
| 11 | MINIMAL=y |
| 12 | endif |
| 13 | endif |
Tom Rini | 6b15c16 | 2022-05-13 12:26:35 -0400 | [diff] [blame] | 14 | endif |
Prabhakar Kushwaha | ab4ab01 | 2013-04-16 13:27:59 +0530 | [diff] [blame] | 15 | |
Masahiro Yamada | 350735c | 2014-02-04 17:24:25 +0900 | [diff] [blame] | 16 | ifdef MINIMAL |
| 17 | # necessary to create built-in.o |
| 18 | obj- := __dummy__.o |
| 19 | else |
Stephen Carlson | e36d49c | 2021-06-22 16:35:20 -0700 | [diff] [blame] | 20 | # include i2c_common.o once if either VID or FSL_USE_PCA9547_MUX |
| 21 | I2C_COMMON= |
| 22 | ifdef CONFIG_VID |
| 23 | I2C_COMMON=y |
| 24 | endif |
| 25 | ifdef CONFIG_FSL_USE_PCA9547_MUX |
| 26 | I2C_COMMON=y |
| 27 | endif |
| 28 | |
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 29 | obj-$(CONFIG_FSL_CADMUS) += cadmus.o |
| 30 | obj-$(CONFIG_FSL_VIA) += cds_via.o |
| 31 | obj-$(CONFIG_FMAN_ENET) += fman.o |
| 32 | obj-$(CONFIG_FSL_PIXIS) += pixis.o |
Matthew McClintock | cd99caa | 2013-02-18 10:02:19 +0000 | [diff] [blame] | 33 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 34 | obj-$(CONFIG_FSL_NGPIXIS) += ngpixis.o |
Matthew McClintock | cd99caa | 2013-02-18 10:02:19 +0000 | [diff] [blame] | 35 | endif |
Stephen Carlson | e36d49c | 2021-06-22 16:35:20 -0700 | [diff] [blame] | 36 | obj-$(I2C_COMMON) += i2c_common.o |
| 37 | obj-$(CONFIG_FSL_USE_PCA9547_MUX) += i2c_mux.o |
Tom Rini | 89cdcab | 2021-12-12 22:12:31 -0500 | [diff] [blame] | 38 | obj-$(CONFIG_$(SPL_)VID) += vid.o |
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 39 | obj-$(CONFIG_FSL_QIXIS) += qixis.o |
| 40 | obj-$(CONFIG_PQ_MDS_PIB) += pq-mds-pib.o |
Matthew McClintock | cd99caa | 2013-02-18 10:02:19 +0000 | [diff] [blame] | 41 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 42 | obj-$(CONFIG_ID_EEPROM) += sys_eeprom.o |
Matthew McClintock | cd99caa | 2013-02-18 10:02:19 +0000 | [diff] [blame] | 43 | endif |
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 44 | obj-$(CONFIG_FSL_SGMII_RISER) += sgmii_riser.o |
Shaohui Xie | c608389 | 2011-05-12 18:46:40 +0800 | [diff] [blame] | 45 | ifndef CONFIG_RAMBOOT_PBL |
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 46 | obj-$(CONFIG_FSL_FIXED_MMC_LOCATION) += sdhc_boot.o |
Shaohui Xie | c608389 | 2011-05-12 18:46:40 +0800 | [diff] [blame] | 47 | endif |
Jon Loeliger | 6bcdb40 | 2008-03-19 15:02:07 -0500 | [diff] [blame] | 48 | |
Tang Yuantian | 064f126 | 2014-11-21 11:17:15 +0800 | [diff] [blame] | 49 | ifdef CONFIG_ARM |
| 50 | obj-$(CONFIG_DEEP_SLEEP) += arm_sleep.o |
| 51 | else |
| 52 | obj-$(CONFIG_DEEP_SLEEP) += mpc85xx_sleep.o |
| 53 | endif |
| 54 | |
York Sun | 098f8a7 | 2016-11-16 11:43:49 -0800 | [diff] [blame] | 55 | obj-$(CONFIG_TARGET_MPC8548CDS) += cds_pci_ft.o |
Jon Loeliger | 6bcdb40 | 2008-03-19 15:02:07 -0500 | [diff] [blame] | 56 | |
York Sun | c731cc2 | 2016-11-16 11:09:07 -0800 | [diff] [blame] | 57 | obj-$(CONFIG_TARGET_MPC8536DS) += ics307_clk.o |
York Sun | cf2b3b6 | 2016-11-16 15:25:52 -0800 | [diff] [blame] | 58 | obj-$(CONFIG_TARGET_P1022DS) += ics307_clk.o |
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 59 | obj-$(CONFIG_P2020DS) += ics307_clk.o |
York Sun | 80d8991 | 2016-11-18 11:22:17 -0800 | [diff] [blame] | 60 | obj-$(CONFIG_TARGET_P3041DS) += ics307_clk.o |
York Sun | d1bb602 | 2016-11-18 11:26:09 -0800 | [diff] [blame] | 61 | obj-$(CONFIG_TARGET_P4080DS) += ics307_clk.o |
York Sun | cc85e25 | 2016-11-18 11:40:51 -0800 | [diff] [blame] | 62 | obj-$(CONFIG_TARGET_P5040DS) += ics307_clk.o |
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 63 | obj-$(CONFIG_VSC_CROSSBAR) += vsc3316_3308.o |
Shaveta Leekha | afe5b06 | 2014-04-11 14:12:39 +0530 | [diff] [blame] | 64 | obj-$(CONFIG_ZM7300) += zm7300.o |
Ye.Li | a9454db | 2014-11-06 16:28:59 +0800 | [diff] [blame] | 65 | obj-$(CONFIG_POWER_PFUZE100) += pfuze.o |
Peng Fan | a7e8fcb | 2018-01-02 09:32:06 +0800 | [diff] [blame] | 66 | obj-$(CONFIG_DM_PMIC_PFUZE100) += pfuze.o |
Hou Zhiqiang | c486051 | 2016-12-09 16:08:58 +0800 | [diff] [blame] | 67 | obj-$(CONFIG_POWER_MC34VR500) += mc34vr500.o |
Peng Fan | 4de1128 | 2022-04-06 14:30:25 +0800 | [diff] [blame] | 68 | ifneq (,$(filter $(SOC), imx8ulp)) |
| 69 | obj-y += mmc.o |
| 70 | endif |
Kim Phillips | 53b3498 | 2007-08-21 17:00:17 -0500 | [diff] [blame] | 71 | |
Xiubo Li | 03d40aa | 2014-11-21 17:40:59 +0800 | [diff] [blame] | 72 | obj-$(CONFIG_LS102XA_STREAM_ID) += ls102xa_stream_id.o |
| 73 | |
Meenakshi Aggarwal | bbd3318 | 2018-11-30 22:32:11 +0530 | [diff] [blame] | 74 | obj-$(CONFIG_EMC2305) += emc2305.o |
| 75 | |
Kumar Gala | 2bf3c2a | 2011-08-30 17:29:23 -0500 | [diff] [blame] | 76 | # deal with common files for P-series corenet based devices |
York Sun | 8299ebf | 2016-11-18 11:17:22 -0800 | [diff] [blame] | 77 | obj-$(CONFIG_TARGET_P2041RDB) += p_corenet/ |
York Sun | 80d8991 | 2016-11-18 11:22:17 -0800 | [diff] [blame] | 78 | obj-$(CONFIG_TARGET_P3041DS) += p_corenet/ |
York Sun | d1bb602 | 2016-11-18 11:26:09 -0800 | [diff] [blame] | 79 | obj-$(CONFIG_TARGET_P4080DS) += p_corenet/ |
York Sun | 14bd074 | 2016-11-18 11:32:46 -0800 | [diff] [blame] | 80 | obj-$(CONFIG_TARGET_P5020DS) += p_corenet/ |
York Sun | cc85e25 | 2016-11-18 11:40:51 -0800 | [diff] [blame] | 81 | obj-$(CONFIG_TARGET_P5040DS) += p_corenet/ |
Xiubo Li | 54de065 | 2014-11-21 17:40:58 +0800 | [diff] [blame] | 82 | |
Mingkai Hu | 5b0df8a | 2015-10-26 19:47:41 +0800 | [diff] [blame] | 83 | obj-$(CONFIG_LAYERSCAPE_NS_ACCESS) += ns_access.o |
gaurav rana | 8b5ea65 | 2015-02-27 09:46:17 +0530 | [diff] [blame] | 84 | |
Udit Agarwal | 22ec238 | 2019-11-07 16:11:32 +0000 | [diff] [blame] | 85 | ifdef CONFIG_NXP_ESBC |
gaurav rana | 8707d47 | 2015-04-06 13:05:33 +0530 | [diff] [blame] | 86 | obj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o |
gaurav rana | 8b5ea65 | 2015-02-27 09:46:17 +0530 | [diff] [blame] | 87 | endif |
Aneesh Bansal | 39d5b3b | 2016-01-22 16:37:26 +0530 | [diff] [blame] | 88 | obj-$(CONFIG_CHAIN_OF_TRUST) += fsl_chain_of_trust.o |
gaurav rana | 8b5ea65 | 2015-02-27 09:46:17 +0530 | [diff] [blame] | 89 | |
Prabhakar Kushwaha | ab4ab01 | 2013-04-16 13:27:59 +0530 | [diff] [blame] | 90 | endif |