blob: e53d52c47b34c81e0cea096a063a579770a6d05b [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
Marek Vasut16637b42022-04-10 06:27:14 +020024obj-$(CONFIG_USB_HUB_USB251XB) += usb251xb.o
Simon Glass45be32c2014-12-10 08:55:51 -070025endif
Simon Glassc744fca2016-07-04 11:58:19 -060026endif
Simon Glass750c4822016-07-04 11:58:01 -060027ifdef CONFIG_SPL_OF_PLATDATA
28ifdef CONFIG_SPL_BUILD
29obj-$(CONFIG_SANDBOX) += spltest_sandbox.o
30endif
31endif
Mario Sixbceb7bc2018-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
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
gaurav rana9aaea442015-02-27 09:44:22 +053039obj-$(CONFIG_FSL_SEC_MON) += fsl_sec_mon.o
Keerthyfe8f6092022-01-27 13:16:53 +010040obj-$(CONFIG_$(SPL_)FS_LOADER) += fs_loader.o
Tim Harveyb8204602022-03-07 16:24:04 -080041obj-$(CONFIG_GATEWORKS_SC) += gsc.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020042obj-$(CONFIG_GDSYS_IOEP) += gdsys_ioep.o
43obj-$(CONFIG_GDSYS_RXAUI_CTRL) += gdsys_rxaui_ctrl.o
Mario Six8862f452018-10-04 09:00:54 +020044obj-$(CONFIG_GDSYS_SOC) += gdsys_soc.o
Simon Glassff418d92019-12-06 21:41:58 -070045obj-$(CONFIG_IRQ) += irq-uclass.o
Simon Glasse7995f72021-08-07 07:24:11 -060046obj-$(CONFIG_SANDBOX) += irq_sandbox.o irq_sandbox_test.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020047obj-$(CONFIG_$(SPL_)I2C_EEPROM) += i2c_eeprom.o
Mario Six1a9d43f2018-10-04 09:00:55 +020048obj-$(CONFIG_IHS_FPGA) += ihs_fpga.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020049obj-$(CONFIG_IMX8) += imx8/
Peng Fand5c31832023-06-15 18:09:05 +080050obj-$(CONFIG_IMX_ELE) += imx_ele/
Mario Sixbceb7bc2018-10-04 09:00:53 +020051obj-$(CONFIG_LED_STATUS) += status_led.o
52obj-$(CONFIG_LED_STATUS_GPIO) += gpio_led.o
53obj-$(CONFIG_MPC83XX_SERDES) += mpc83xx_serdes.o
Sean Anderson6b39d352022-04-22 14:34:18 -040054obj-$(CONFIG_$(SPL_TPL_)LS2_SFP) += ls2_sfp.o
Michael Scott92676142021-09-25 19:49:28 +030055obj-$(CONFIG_$(SPL_)MXC_OCOTP) += mxc_ocotp.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020056obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o
Jim Liufab2eff2022-06-07 16:33:54 +080057obj-$(CONFIG_NPCM_OTP) += npcm_otp.o
Jim Liucce4eed2022-06-24 16:24:37 +080058obj-$(CONFIG_NPCM_HOST) += npcm_host_intf.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020059obj-$(CONFIG_NUVOTON_NCT6102D) += nuvoton_nct6102d.o
Simon Glass2ee1f6a2019-12-06 21:41:55 -070060obj-$(CONFIG_P2SB) += p2sb-uclass.o
Stefan Roese04b22752015-03-12 11:22:46 +010061obj-$(CONFIG_PCA9551_LED) += pca9551_led.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020062obj-$(CONFIG_$(SPL_)PWRSEQ) += pwrseq-uclass.o
Asherah Connor4ffa95d2021-03-19 18:21:40 +110063ifdef CONFIG_QFW
64obj-y += qfw.o
Heinrich Schuchardtd2cd3d62023-12-19 16:04:01 +010065obj-$(CONFIG_QFW_ACPI) += qfw_acpi.o
Asherah Connor4ffa95d2021-03-19 18:21:40 +110066obj-$(CONFIG_QFW_PIO) += qfw_pio.o
Asherah Connorf0c0e542021-03-19 18:21:42 +110067obj-$(CONFIG_QFW_MMIO) += qfw_mmio.o
Heinrich Schuchardt08d931a2023-12-23 02:03:34 +010068obj-$(CONFIG_QFW_SMBIOS) += qfw_smbios.o
Asherah Connorab1975b2021-03-19 18:21:41 +110069obj-$(CONFIG_SANDBOX) += qfw_sandbox.o
Asherah Connor4ffa95d2021-03-19 18:21:40 +110070endif
Philipp Tomsichfcc1d632017-05-05 19:21:38 +020071obj-$(CONFIG_ROCKCHIP_EFUSE) += rockchip-efuse.o
Finley Xiao20d52a02019-09-25 17:57:49 +020072obj-$(CONFIG_ROCKCHIP_OTP) += rockchip-otp.o
Jonas Karlmana937c3d2023-08-21 22:30:28 +000073obj-$(CONFIG_$(SPL_TPL_)ROCKCHIP_IODOMAIN) += rockchip-io-domain.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020074obj-$(CONFIG_SANDBOX) += syscon_sandbox.o misc_sandbox.o
Pragnesh Patel6e9661f2020-05-29 11:33:21 +053075obj-$(CONFIG_SIFIVE_OTP) += sifive-otp.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020076obj-$(CONFIG_SMSC_LPC47M) += smsc_lpc47m.o
77obj-$(CONFIG_SMSC_SIO1007) += smsc_sio1007.o
Patrick Delaunay0c4656b2018-05-17 15:24:06 +020078obj-$(CONFIG_STM32MP_FUSE) += stm32mp_fuse.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020079obj-$(CONFIG_STM32_RCC) += stm32_rcc.o
Ahmed Mansouraa270b42017-12-15 16:01:00 -050080obj-$(CONFIG_SYS_DPAA_QBMAN) += fsl_portals.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020081obj-$(CONFIG_TEGRA186_BPMP) += tegra186_bpmp.o
82obj-$(CONFIG_TEGRA_CAR) += tegra_car.o
Simon Glass4bf89722020-12-23 08:11:18 -070083obj-$(CONFIG_TEST_DRV) += test_drv.o
Marek BehĂșnea51ee52024-04-04 09:51:03 +020084obj-$(CONFIG_$(SPL_TPL_)TURRIS_OMNIA_MCU) += turris_omnia_mcu.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020085obj-$(CONFIG_TWL4030_LED) += twl4030_led.o
Liviu Dudau688db7f2018-09-28 13:43:31 +010086obj-$(CONFIG_VEXPRESS_CONFIG) += vexpress_config.o
Mario Sixbceb7bc2018-10-04 09:00:53 +020087obj-$(CONFIG_WINBOND_W83627) += winbond_w83627.o
Paul Burton738d8a82018-12-16 19:25:19 -030088obj-$(CONFIG_JZ4780_EFUSE) += jz4780_efuse.o
Eugen Hristev3bd56102019-10-09 09:23:39 +000089obj-$(CONFIG_MICROCHIP_FLEXCOM) += microchip_flexcom.o
Tero Kristo887dde52019-10-24 15:00:46 +053090obj-$(CONFIG_K3_AVS0) += k3_avs.o
Tero Kristof81f4cd2020-02-14 11:18:15 +020091obj-$(CONFIG_ESM_K3) += k3_esm.o
Tero Kristo1444e112020-02-14 11:18:16 +020092obj-$(CONFIG_ESM_PMIC) += esm_pmic.o
Michael Walle2184cc62022-02-25 18:06:24 +053093obj-$(CONFIG_SL28CPLD) += sl28cpld.o
Wan Yee Lau80db98c2024-03-28 14:24:00 +080094obj-$(CONFIG_SPL_SOCFPGA_DT_REG) += socfpga_dtreg.o