blob: f9826d2462d189675cb91e3ebb4ce1518c2f3d55 [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
Thomas Chou4395e062015-10-07 20:20:51 +08006obj-$(CONFIG_MISC) += misc-uclass.o
Simon Glassaaba7032018-11-18 08:14:27 -07007
8obj-$(CONFIG_$(SPL_TPL_)CROS_EC) += cros_ec.o
9obj-$(CONFIG_$(SPL_TPL_)CROS_EC_SANDBOX) += cros_ec_sandbox.o
10obj-$(CONFIG_$(SPL_TPL_)CROS_EC_LPC) += cros_ec_lpc.o
11
Simon Glassd7248c42016-01-21 19:43:52 -070012ifndef CONFIG_SPL_BUILD
Simon Glass3e17ffb2019-12-06 21:41:57 -070013obj-$(CONFIG_SANDBOX) += sandbox_adder.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090014obj-$(CONFIG_CROS_EC_I2C) += cros_ec_i2c.o
15obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o
Simon Glass3e17ffb2019-12-06 21:41:57 -070016obj-$(CONFIG_SANDBOX) += p2sb_sandbox.o p2sb_emul.o
Simon Glass75d8f492019-09-25 08:56:42 -060017obj-$(CONFIG_SANDBOX) += swap_case.o
Simon Glass73223f02016-02-22 22:55:43 -070018endif
Mario Six313d4cc2018-10-04 09:00:53 +020019
Igor Opaniukd1f3abe2021-02-09 13:52:43 +020020ifdef CONFIG_$(SPL_)DM_I2C
Simon Glass2c9dfb52016-07-04 11:58:19 -060021ifndef CONFIG_SPL_BUILD
Simon Glass6ec1b752014-12-10 08:55:51 -070022obj-$(CONFIG_SANDBOX) += i2c_eeprom_emul.o
23endif
Simon Glass2c9dfb52016-07-04 11:58:19 -060024endif
Simon Glassbab82332016-07-04 11:58:01 -060025ifdef CONFIG_SPL_OF_PLATDATA
26ifdef CONFIG_SPL_BUILD
27obj-$(CONFIG_SANDBOX) += spltest_sandbox.o
28endif
29endif
Mario Six313d4cc2018-10-04 09:00:53 +020030obj-$(CONFIG_ALI152X) += ali512x.o
31obj-$(CONFIG_ALTERA_SYSID) += altera_sysid.o
32obj-$(CONFIG_ATSHA204A) += atsha204a-i2c.o
33obj-$(CONFIG_CBMEM_CONSOLE) += cbmem_console.o
34obj-$(CONFIG_DS4510) += ds4510.o
Zhuoyu Zhang03c22442015-08-17 18:55:12 +080035obj-$(CONFIG_FSL_DEVICE_DISABLE) += fsl_devdis.o
Mario Six313d4cc2018-10-04 09:00:53 +020036obj-$(CONFIG_FSL_IFC) += fsl_ifc.o
37obj-$(CONFIG_FSL_IIM) += fsl_iim.o
38obj-$(CONFIG_FSL_MC9SDZ60) += mc9sdz60.o
39obj-$(CONFIG_FSL_SEC_MON) += fsl_sec_mon.o
40obj-$(CONFIG_FS_LOADER) += fs_loader.o
Mario Six7e862422018-07-31 14:24:15 +020041obj-$(CONFIG_GDSYS_IOEP) += gdsys_ioep.o
Mario Six86da8c12018-04-27 14:53:33 +020042obj-$(CONFIG_GDSYS_RXAUI_CTRL) += gdsys_rxaui_ctrl.o
Mario Sixc0a2b082018-10-04 09:00:54 +020043obj-$(CONFIG_GDSYS_SOC) += gdsys_soc.o
Simon Glass79d66a62019-12-06 21:41:58 -070044obj-$(CONFIG_IRQ) += irq-uclass.o
Simon Glass3e57ad92021-08-07 07:24:11 -060045obj-$(CONFIG_SANDBOX) += irq_sandbox.o irq_sandbox_test.o
Mario Six313d4cc2018-10-04 09:00:53 +020046obj-$(CONFIG_$(SPL_)I2C_EEPROM) += i2c_eeprom.o
Mario Sixab88bd22018-10-04 09:00:55 +020047obj-$(CONFIG_IHS_FPGA) += ihs_fpga.o
Mario Six313d4cc2018-10-04 09:00:53 +020048obj-$(CONFIG_IMX8) += imx8/
Ye Li0c00d032021-08-07 16:00:41 +080049obj-$(CONFIG_IMX8ULP) += imx8ulp/
Mario Six313d4cc2018-10-04 09:00:53 +020050obj-$(CONFIG_LED_STATUS) += status_led.o
51obj-$(CONFIG_LED_STATUS_GPIO) += gpio_led.o
Mario Sixd2166312018-08-06 10:23:46 +020052obj-$(CONFIG_MPC83XX_SERDES) += mpc83xx_serdes.o
Michael Scott33e9a692021-09-25 19:49:28 +030053obj-$(CONFIG_$(SPL_)MXC_OCOTP) += mxc_ocotp.o
Mario Six313d4cc2018-10-04 09:00:53 +020054obj-$(CONFIG_MXS_OCOTP) += mxs_ocotp.o
Mario Six313d4cc2018-10-04 09:00:53 +020055obj-$(CONFIG_NUVOTON_NCT6102D) += nuvoton_nct6102d.o
Simon Glass5bee27a2019-12-06 21:41:55 -070056obj-$(CONFIG_P2SB) += p2sb-uclass.o
Mario Six313d4cc2018-10-04 09:00:53 +020057obj-$(CONFIG_PCA9551_LED) += pca9551_led.o
58obj-$(CONFIG_$(SPL_)PWRSEQ) += pwrseq-uclass.o
Asherah Connor5b0b43e2021-03-19 18:21:40 +110059ifdef CONFIG_QFW
60obj-y += qfw.o
61obj-$(CONFIG_QFW_PIO) += qfw_pio.o
Asherah Connor5830b572021-03-19 18:21:42 +110062obj-$(CONFIG_QFW_MMIO) += qfw_mmio.o
Asherah Connor69512552021-03-19 18:21:41 +110063obj-$(CONFIG_SANDBOX) += qfw_sandbox.o
Asherah Connor5b0b43e2021-03-19 18:21:40 +110064endif
Mario Six313d4cc2018-10-04 09:00:53 +020065obj-$(CONFIG_ROCKCHIP_EFUSE) += rockchip-efuse.o
Finley Xiaoa907dc32019-09-25 17:57:49 +020066obj-$(CONFIG_ROCKCHIP_OTP) += rockchip-otp.o
Mario Six313d4cc2018-10-04 09:00:53 +020067obj-$(CONFIG_SANDBOX) += syscon_sandbox.o misc_sandbox.o
Pragnesh Patel05307212020-05-29 11:33:21 +053068obj-$(CONFIG_SIFIVE_OTP) += sifive-otp.o
Mario Six313d4cc2018-10-04 09:00:53 +020069obj-$(CONFIG_SMSC_LPC47M) += smsc_lpc47m.o
70obj-$(CONFIG_SMSC_SIO1007) += smsc_sio1007.o
71obj-$(CONFIG_STM32MP_FUSE) += stm32mp_fuse.o
72obj-$(CONFIG_STM32_RCC) += stm32_rcc.o
73obj-$(CONFIG_SYS_DPAA_QBMAN) += fsl_portals.o
74obj-$(CONFIG_TEGRA186_BPMP) += tegra186_bpmp.o
75obj-$(CONFIG_TEGRA_CAR) += tegra_car.o
Simon Glass079ac592020-12-23 08:11:18 -070076obj-$(CONFIG_TEST_DRV) += test_drv.o
Mario Six313d4cc2018-10-04 09:00:53 +020077obj-$(CONFIG_TWL4030_LED) += twl4030_led.o
78obj-$(CONFIG_VEXPRESS_CONFIG) += vexpress_config.o
79obj-$(CONFIG_WINBOND_W83627) += winbond_w83627.o
Paul Burtonb5392c52018-12-16 19:25:19 -030080obj-$(CONFIG_JZ4780_EFUSE) += jz4780_efuse.o
Eugen Hristevf8164952019-10-09 09:23:39 +000081obj-$(CONFIG_MICROCHIP_FLEXCOM) += microchip_flexcom.o
Tero Kristo9d233b42019-10-24 15:00:46 +053082obj-$(CONFIG_K3_AVS0) += k3_avs.o
Tero Kristo344eb6d2020-02-14 11:18:15 +020083obj-$(CONFIG_ESM_K3) += k3_esm.o
Tero Kristo3b36b382020-02-14 11:18:16 +020084obj-$(CONFIG_ESM_PMIC) += esm_pmic.o