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