]> git.dujemihanovic.xyz Git - u-boot.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)
commit7eb62cb7165791a9a98a2d498f88b0ef2192f4c9
tree62b4e3429d2a024bcd619b4e7b4eda7f2f2271f2
parent7755b2200777f72dca87dd169138e95f011bbcb9
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