]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: designware: Add Kconfig for designware_i2c_pci.c
authorMinda Chen <minda.chen@starfivetech.com>
Tue, 25 Jul 2023 09:46:47 +0000 (17:46 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 2 Aug 2023 03:02:32 +0000 (11:02 +0800)
commit67ff0bc98c422d2f23825a11fc3d4d175b10fbbc
tree62b4e3429d2a024bcd619b4e7b4eda7f2f2271f2
parentcf74b0b6a00ce16a55221f0b9255eef89b2d6d15
i2c: designware: Add Kconfig for designware_i2c_pci.c

As the Designware_i2c_pci.c uses ACPI APIs, If some SoCs (StarFive
JH7110) contain Designware i2c and PCI but do not use ACPI,
This file cannot be compiled. So add a new Kconfig for
designware_i2c_pci.c, which depends on ACPIGEN

Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/i2c/Kconfig
drivers/i2c/Makefile