blob: 7d15e9f1f626f59912d2660d74ef259b6f0a0f14 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Jean-Christophe PLAGNIOL-VILLARDb7803012007-11-24 21:17:55 +01002#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Jean-Christophe PLAGNIOL-VILLARDb7803012007-11-24 21:17:55 +01005
Sean Anderson63c318f2022-04-22 16:11:37 -04006obj-$(CONFIG_$(SPL_TPL_)MISC) += misc-uclass.o
Sean Anderson77c66292022-05-05 13:11:39 -04007obj-$(CONFIG_$(SPL_TPL_)NVMEM) += nvmem.o
Simon Glass605931c2018-11-18 08:14:27 -07008
9obj-$(CONFIG_$(SPL_TPL_)CROS_EC) += cros_ec.o
10obj-$(CONFIG_$(SPL_TPL_)CROS_EC_SANDBOX) += cros_ec_sandbox.o
11obj-$(CONFIG_$(SPL_TPL_)CROS_EC_LPC) += cros_ec_lpc.o
12
Simon Glass2096af62016-01-21 19:43:52 -070013ifndef CONFIG_SPL_BUILD
Simon Glass937bb472019-12-06 21:41:57 -070014obj-$(CONFIG_SANDBOX) += sandbox_adder.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090015obj-$(CONFIG_CROS_EC_I2C) += cros_ec_i2c.o
16obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o
Simon Glass937bb472019-12-06 21:41:57 -070017obj-$(CONFIG_SANDBOX) += p2sb_sandbox.o p2sb_emul.o
Simon Glass72231f72019-09-25 08:56:42 -060018obj-$(CONFIG_SANDBOX) += swap_case.o
Simon Glasse3ee2fb2016-02-22 22:55:43 -070019endif
Mario Sixbceb7bc2018-10-04 09:00:53 +020020
Igor Opaniuk964f2322021-02-09 13:52:43 +020021ifdef CONFIG_$(SPL_)DM_I2C
Simon Glassc744fca2016-07-04 11:58:19 -060022ifndef CONFIG_SPL_BUILD
Simon Glass45be32c2014-12-10 08:55:51 -070023obj-$(CONFIG_SANDBOX) += i2c_eeprom_emul.o
24endif
Simon Glassc744fca2016-07-04 11:58:19 -060025endif
Simon Glass750c4822016-07-04 11:58:01 -060026ifdef CONFIG_SPL_OF_PLATDATA
27ifdef CONFIG_SPL_BUILD
28obj-$(CONFIG_SANDBOX) += spltest_sandbox.o
29endif
30endif
Mario Sixbceb7bc2018-10-04 09:00:53 +020031obj-$(CONFIG_ALI152X) += ali512x.o
32obj-$(CONFIG_ALTERA_SYSID) += altera_sysid.o
33obj-$(CONFIG_ATSHA204A) += atsha204a-i2c.o
34obj-$(CONFIG_CBMEM_CONSOLE) += cbmem_console.o
35obj-$(CONFIG_DS4510) += ds4510.o
36obj-$(CONFIG_FSL_DEVICE_DISABLE) += fsl_devdis.o
York Sun37562f62013-10-22 12:39:02 -070037obj-$(CONFIG_FSL_IFC) += fsl_ifc.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020038obj-$(CONFIG_FSL_IIM) += fsl_iim.o
39obj-$(CONFIG_FSL_MC9SDZ60) += mc9sdz60.o
gaurav rana9aaea442015-02-27 09:44:22 +053040obj-$(CONFIG_FSL_SEC_MON) += fsl_sec_mon.o
Keerthyfe8f6092022-01-27 13:16:53 +010041obj-$(CONFIG_$(SPL_)FS_LOADER) += fs_loader.o
Tim Harveyb8204602022-03-07 16:24:04 -080042obj-$(CONFIG_GATEWORKS_SC) += gsc.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020043obj-$(CONFIG_GDSYS_IOEP) += gdsys_ioep.o
44obj-$(CONFIG_GDSYS_RXAUI_CTRL) += gdsys_rxaui_ctrl.o
Mario Six8862f452018-10-04 09:00:54 +020045obj-$(CONFIG_GDSYS_SOC) += gdsys_soc.o
Simon Glassff418d92019-12-06 21:41:58 -070046obj-$(CONFIG_IRQ) += irq-uclass.o
Simon Glasse7995f72021-08-07 07:24:11 -060047obj-$(CONFIG_SANDBOX) += irq_sandbox.o irq_sandbox_test.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020048obj-$(CONFIG_$(SPL_)I2C_EEPROM) += i2c_eeprom.o
Mario Six1a9d43f2018-10-04 09:00:55 +020049obj-$(CONFIG_IHS_FPGA) += ihs_fpga.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020050obj-$(CONFIG_IMX8) += imx8/
Ye Li0db17f42021-08-07 16:00:41 +080051obj-$(CONFIG_IMX8ULP) += imx8ulp/
Mario Sixbceb7bc2018-10-04 09:00:53 +020052obj-$(CONFIG_LED_STATUS) += status_led.o
53obj-$(CONFIG_LED_STATUS_GPIO) += gpio_led.o
54obj-$(CONFIG_MPC83XX_SERDES) += mpc83xx_serdes.o
Sean Anderson6b39d352022-04-22 14:34:18 -040055obj-$(CONFIG_$(SPL_TPL_)LS2_SFP) += ls2_sfp.o
Michael Scott92676142021-09-25 19:49:28 +030056obj-$(CONFIG_$(SPL_)MXC_OCOTP) += mxc_ocotp.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020057obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020058obj-$(CONFIG_NUVOTON_NCT6102D) += nuvoton_nct6102d.o
Simon Glass2ee1f6a2019-12-06 21:41:55 -070059obj-$(CONFIG_P2SB) += p2sb-uclass.o
Stefan Roese04b22752015-03-12 11:22:46 +010060obj-$(CONFIG_PCA9551_LED) += pca9551_led.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020061obj-$(CONFIG_$(SPL_)PWRSEQ) += pwrseq-uclass.o
Asherah Connor4ffa95d2021-03-19 18:21:40 +110062ifdef CONFIG_QFW
63obj-y += qfw.o
64obj-$(CONFIG_QFW_PIO) += qfw_pio.o
Asherah Connorf0c0e542021-03-19 18:21:42 +110065obj-$(CONFIG_QFW_MMIO) += qfw_mmio.o
Asherah Connorab1975b2021-03-19 18:21:41 +110066obj-$(CONFIG_SANDBOX) += qfw_sandbox.o
Asherah Connor4ffa95d2021-03-19 18:21:40 +110067endif
Philipp Tomsichfcc1d632017-05-05 19:21:38 +020068obj-$(CONFIG_ROCKCHIP_EFUSE) += rockchip-efuse.o
Finley Xiao20d52a02019-09-25 17:57:49 +020069obj-$(CONFIG_ROCKCHIP_OTP) += rockchip-otp.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020070obj-$(CONFIG_SANDBOX) += syscon_sandbox.o misc_sandbox.o
Pragnesh Patel6e9661f2020-05-29 11:33:21 +053071obj-$(CONFIG_SIFIVE_OTP) += sifive-otp.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020072obj-$(CONFIG_SMSC_LPC47M) += smsc_lpc47m.o
73obj-$(CONFIG_SMSC_SIO1007) += smsc_sio1007.o
Patrick Delaunay0c4656b2018-05-17 15:24:06 +020074obj-$(CONFIG_STM32MP_FUSE) += stm32mp_fuse.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020075obj-$(CONFIG_STM32_RCC) += stm32_rcc.o
Ahmed Mansouraa270b42017-12-15 16:01:00 -050076obj-$(CONFIG_SYS_DPAA_QBMAN) += fsl_portals.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020077obj-$(CONFIG_TEGRA186_BPMP) += tegra186_bpmp.o
78obj-$(CONFIG_TEGRA_CAR) += tegra_car.o
Simon Glass4bf89722020-12-23 08:11:18 -070079obj-$(CONFIG_TEST_DRV) += test_drv.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020080obj-$(CONFIG_TWL4030_LED) += twl4030_led.o
Liviu Dudau688db7f2018-09-28 13:43:31 +010081obj-$(CONFIG_VEXPRESS_CONFIG) += vexpress_config.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020082obj-$(CONFIG_WINBOND_W83627) += winbond_w83627.o
Paul Burton738d8a82018-12-16 19:25:19 -030083obj-$(CONFIG_JZ4780_EFUSE) += jz4780_efuse.o
Eugen Hristev3bd56102019-10-09 09:23:39 +000084obj-$(CONFIG_MICROCHIP_FLEXCOM) += microchip_flexcom.o
Tero Kristo887dde52019-10-24 15:00:46 +053085obj-$(CONFIG_K3_AVS0) += k3_avs.o
Tero Kristof81f4cd2020-02-14 11:18:15 +020086obj-$(CONFIG_ESM_K3) += k3_esm.o
Tero Kristo1444e112020-02-14 11:18:16 +020087obj-$(CONFIG_ESM_PMIC) += esm_pmic.o
Michael Walle2184cc62022-02-25 18:06:24 +053088obj-$(CONFIG_SL28CPLD) += sl28cpld.o