diff options
author | Mason Huo <mason.huo@starfivetech.com> | 2023-02-16 08:58:06 +0300 |
---|---|---|
committer | Mason Huo <mason.huo@starfivetech.com> | 2023-02-22 12:54:41 +0300 |
commit | 620227e7cd62ff1e2d66e36921a3ec006471a3fd (patch) | |
tree | 4af88e5014ef3df2071733afd1262eea2702fb59 /drivers/i2c | |
parent | 73afdb850175bc365c786d9dbf027c9143f51c21 (diff) | |
download | u-boot-620227e7cd62ff1e2d66e36921a3ec006471a3fd.tar.xz |
i2c: designware_i2c: Add ACPI configure limitation
As the i2c_designware_pci.c uses ACPI APIs,
add the ACPI table generation configuration
for its compilation.
Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile index c16ebb2491..69bd27c7cd 100644 --- a/drivers/i2c/Makefile +++ b/drivers/i2c/Makefile @@ -18,9 +18,11 @@ obj-$(CONFIG_SYS_I2C_CADENCE) += i2c-cdns.o obj-$(CONFIG_SYS_I2C_CA) += i2c-cortina.o obj-$(CONFIG_SYS_I2C_DAVINCI) += davinci_i2c.o obj-$(CONFIG_SYS_I2C_DW) += designware_i2c.o +ifdef CONFIG_ACPIGEN ifdef CONFIG_PCI obj-$(CONFIG_SYS_I2C_DW) += designware_i2c_pci.o endif +endif obj-$(CONFIG_SYS_I2C_FSL) += fsl_i2c.o obj-$(CONFIG_SYS_I2C_IHS) += ihs_i2c.o obj-$(CONFIG_SYS_I2C_INTEL) += intel_i2c.o |