drivers: peci: Update Kconfig
* Utilize DT_HAS_<COMPAT>_ENABLED for devicetree based drivers Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
961df14f39
commit
210044b788
|
@ -5,7 +5,8 @@
|
|||
|
||||
config PECI_ITE_IT8XXX2
|
||||
bool "ITE IT8XXX2 PECI driver"
|
||||
depends on SOC_IT8XXX2
|
||||
default y
|
||||
depends on DT_HAS_ITE_IT8XXX2_PECI_ENABLED
|
||||
select PECI_INTERRUPT_DRIVEN
|
||||
help
|
||||
Enable the ITE IT8XXX2 PECI IO driver.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
config PECI_XEC
|
||||
bool "XEC Microchip PECI driver"
|
||||
depends on SOC_FAMILY_MEC
|
||||
default $(dt_compat_enabled,${DT_COMPAT_ST_PECI_XEC})
|
||||
default y
|
||||
depends on DT_HAS_MICROCHIP_XEC_PECI_ENABLED
|
||||
help
|
||||
Enable the Microchip XEC PECI IO driver.
|
||||
|
|
Loading…
Reference in a new issue