blob: 52aed096021feda48be9e8f5a32ec60148f9bf3e [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Jean-Christophe PLAGNIOL-VILLARD318c0b92007-11-24 21:17:55 +01002#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Jean-Christophe PLAGNIOL-VILLARD318c0b92007-11-24 21:17:55 +01005
Sean Anderson38127742022-04-22 16:11:37 -04006obj-$(CONFIG_$(SPL_TPL_)MISC) += misc-uclass.o
Sean Andersonc8ce7ba2022-05-05 13:11:39 -04007obj-$(CONFIG_$(SPL_TPL_)NVMEM) += nvmem.o
Simon Glassaaba7032018-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 Glassd7248c42016-01-21 19:43:52 -070013ifndef CONFIG_SPL_BUILD
Simon Glass3e17ffb2019-12-06 21:41:57 -070014obj-$(CONFIG_SANDBOX) += sandbox_adder.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090015obj-$(CONFIG_CROS_EC_I2C) += cros_ec_i2c.o
16obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o
Simon Glass3e17ffb2019-12-06 21:41:57 -070017obj-$(CONFIG_SANDBOX) += p2sb_sandbox.o p2sb_emul.o
Simon Glass75d8f492019-09-25 08:56:42 -060018obj-$(CONFIG_SANDBOX) += swap_case.o
Simon Glass73223f02016-02-22 22:55:43 -070019endif
Mario Six313d4cc2018-10-04 09:00:53 +020020
Igor Opaniukd1f3abe2021-02-09 13:52:43 +020021ifdef CONFIG_$(SPL_)DM_I2C
Simon Glass2c9dfb52016-07-04 11:58:19 -060022ifndef CONFIG_SPL_BUILD
Simon Glass6ec1b752014-12-10 08:55:51 -070023obj-$(CONFIG_SANDBOX) += i2c_eeprom_emul.o
Marek Vasut02544db2022-04-10 06:27:14 +020024obj-$(CONFIG_USB_HUB_USB251XB) += usb251xb.o
Simon Glass6ec1b752014-12-10 08:55:51 -070025endif
Simon Glass2c9dfb52016-07-04 11:58:19 -060026endif
Simon Glassbab82332016-07-04 11:58:01 -060027ifdef CONFIG_SPL_OF_PLATDATA
28ifdef CONFIG_SPL_BUILD
29obj-$(CONFIG_SANDBOX) += spltest_sandbox.o
30endif
31endif
Mario Six313d4cc2018-10-04 09:00:53 +020032obj-$(CONFIG_ALTERA_SYSID) += altera_sysid.o
33obj-$(CONFIG_ATSHA204A) += atsha204a-i2c.o
34obj-$(CONFIG_CBMEM_CONSOLE) += cbmem_console.o
35obj-$(CONFIG_DS4510) += ds4510.o
Zhuoyu Zhang03c22442015-08-17 18:55:12 +080036obj-$(CONFIG_FSL_DEVICE_DISABLE) += fsl_devdis.o
Mario Six313d4cc2018-10-04 09:00:53 +020037obj-$(CONFIG_FSL_IFC) += fsl_ifc.o
38obj-$(CONFIG_FSL_IIM) += fsl_iim.o
Mario Six313d4cc2018-10-04 09:00:53 +020039obj-$(CONFIG_FSL_SEC_MON) += fsl_sec_mon.o
Keerthyb071a072022-01-27 13:16:53 +010040obj-$(CONFIG_$(SPL_)FS_LOADER) += fs_loader.o
Tim Harvey8479b9e2022-03-07 16:24:04 -080041obj-$(CONFIG_GATEWORKS_SC) += gsc.o
Mario Six7e862422018-07-31 14:24:15 +020042obj-$(CONFIG_GDSYS_IOEP) += gdsys_ioep.o
Mario Six86da8c12018-04-27 14:53:33 +020043obj-$(CONFIG_GDSYS_RXAUI_CTRL) += gdsys_rxaui_ctrl.o
Mario Sixc0a2b082018-10-04 09:00:54 +020044obj-$(CONFIG_GDSYS_SOC) += gdsys_soc.o
Simon Glass79d66a62019-12-06 21:41:58 -070045obj-$(CONFIG_IRQ) += irq-uclass.o
Simon Glass3e57ad92021-08-07 07:24:11 -060046obj-$(CONFIG_SANDBOX) += irq_sandbox.o irq_sandbox_test.o
Mario Six313d4cc2018-10-04 09:00:53 +020047obj-$(CONFIG_$(SPL_)I2C_EEPROM) += i2c_eeprom.o
Mario Sixab88bd22018-10-04 09:00:55 +020048obj-$(CONFIG_IHS_FPGA) += ihs_fpga.o
Mario Six313d4cc2018-10-04 09:00:53 +020049obj-$(CONFIG_IMX8) += imx8/
Ye Li03fcf962022-07-26 16:40:49 +080050obj-$(CONFIG_IMX_SENTINEL) += sentinel/
Mario Six313d4cc2018-10-04 09:00:53 +020051obj-$(CONFIG_LED_STATUS) += status_led.o
52obj-$(CONFIG_LED_STATUS_GPIO) += gpio_led.o
Mario Sixd2166312018-08-06 10:23:46 +020053obj-$(CONFIG_MPC83XX_SERDES) += mpc83xx_serdes.o
Sean Anderson2645bc02022-04-22 14:34:18 -040054obj-$(CONFIG_$(SPL_TPL_)LS2_SFP) += ls2_sfp.o
Michael Scott33e9a692021-09-25 19:49:28 +030055obj-$(CONFIG_$(SPL_)MXC_OCOTP) += mxc_ocotp.o
Mario Six313d4cc2018-10-04 09:00:53 +020056obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o
Jim Liu0ae1c772022-06-07 16:33:54 +080057obj-$(CONFIG_NPCM_OTP) += npcm_otp.o
Jim Liu847505a2022-06-24 16:24:37 +080058obj-$(CONFIG_NPCM_HOST) += npcm_host_intf.o
Mario Six313d4cc2018-10-04 09:00:53 +020059obj-$(CONFIG_NUVOTON_NCT6102D) += nuvoton_nct6102d.o
Simon Glass5bee27a2019-12-06 21:41:55 -070060obj-$(CONFIG_P2SB) += p2sb-uclass.o
Mario Six313d4cc2018-10-04 09:00:53 +020061obj-$(CONFIG_PCA9551_LED) += pca9551_led.o
62obj-$(CONFIG_$(SPL_)PWRSEQ) += pwrseq-uclass.o
Vladimir Zapolskiy1b154832023-04-21 20:50:33 +030063obj-$(CONFIG_QCOM_GENI_SE) += qcom-geni-se.o
Asherah Connor5b0b43e2021-03-19 18:21:40 +110064ifdef CONFIG_QFW
65obj-y += qfw.o
66obj-$(CONFIG_QFW_PIO) += qfw_pio.o
Asherah Connor5830b572021-03-19 18:21:42 +110067obj-$(CONFIG_QFW_MMIO) += qfw_mmio.o
Asherah Connor69512552021-03-19 18:21:41 +110068obj-$(CONFIG_SANDBOX) += qfw_sandbox.o
Asherah Connor5b0b43e2021-03-19 18:21:40 +110069endif
Mario Six313d4cc2018-10-04 09:00:53 +020070obj-$(CONFIG_ROCKCHIP_EFUSE) += rockchip-efuse.o
Finley Xiaoa907dc32019-09-25 17:57:49 +020071obj-$(CONFIG_ROCKCHIP_OTP) += rockchip-otp.o
Mario Six313d4cc2018-10-04 09:00:53 +020072obj-$(CONFIG_SANDBOX) += syscon_sandbox.o misc_sandbox.o
Pragnesh Patel05307212020-05-29 11:33:21 +053073obj-$(CONFIG_SIFIVE_OTP) += sifive-otp.o
Mario Six313d4cc2018-10-04 09:00:53 +020074obj-$(CONFIG_SMSC_LPC47M) += smsc_lpc47m.o
75obj-$(CONFIG_SMSC_SIO1007) += smsc_sio1007.o
76obj-$(CONFIG_STM32MP_FUSE) += stm32mp_fuse.o
77obj-$(CONFIG_STM32_RCC) += stm32_rcc.o
78obj-$(CONFIG_SYS_DPAA_QBMAN) += fsl_portals.o
79obj-$(CONFIG_TEGRA186_BPMP) += tegra186_bpmp.o
80obj-$(CONFIG_TEGRA_CAR) += tegra_car.o
Simon Glass079ac592020-12-23 08:11:18 -070081obj-$(CONFIG_TEST_DRV) += test_drv.o
Mario Six313d4cc2018-10-04 09:00:53 +020082obj-$(CONFIG_TWL4030_LED) += twl4030_led.o
83obj-$(CONFIG_VEXPRESS_CONFIG) += vexpress_config.o
84obj-$(CONFIG_WINBOND_W83627) += winbond_w83627.o
Paul Burtonb5392c52018-12-16 19:25:19 -030085obj-$(CONFIG_JZ4780_EFUSE) += jz4780_efuse.o
Eugen Hristevf8164952019-10-09 09:23:39 +000086obj-$(CONFIG_MICROCHIP_FLEXCOM) += microchip_flexcom.o
Tero Kristo9d233b42019-10-24 15:00:46 +053087obj-$(CONFIG_K3_AVS0) += k3_avs.o
Tero Kristo344eb6d2020-02-14 11:18:15 +020088obj-$(CONFIG_ESM_K3) += k3_esm.o
Tero Kristo3b36b382020-02-14 11:18:16 +020089obj-$(CONFIG_ESM_PMIC) += esm_pmic.o
Michael Walle42595eb2022-02-25 18:06:24 +053090obj-$(CONFIG_SL28CPLD) += sl28cpld.o