drivers: crypto: 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
94710e0f6d
commit
310190ca01
3 changed files with 6 additions and 6 deletions
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
menuconfig CRYPTO_ATAES132A
|
||||
bool "Atmel ATAES132A 32k AES Serial EEPROM support"
|
||||
default y
|
||||
depends on DT_HAS_ATMEL_ATAES132A_ENABLED
|
||||
depends on I2C
|
||||
help
|
||||
Enable Atmel ATAES132A 32k AES Serial EEPROM support.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
config CRYPTO_NRF_ECB
|
||||
bool "nRF AES electronic codebook mode encryption"
|
||||
depends on HAS_HW_NRF_ECB
|
||||
default y
|
||||
depends on DT_HAS_NORDIC_NRF_ECB_ENABLED
|
||||
# Bluetooth controller uses the ECB peripheral directly
|
||||
# (see subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/ecb.c),
|
||||
# hence this driver cannot be enabled together with it.
|
||||
|
|
|
|||
|
|
@ -3,13 +3,10 @@
|
|||
# Copyright (c) 2020 Markus Fuchs <markus.fuchs@de.sauter-bc.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_ST_STM32_AES := st,stm32-aes
|
||||
DT_COMPAT_ST_STM32_CRYP := st,stm32-cryp
|
||||
|
||||
menuconfig CRYPTO_STM32
|
||||
bool "STM32 Cryptographic Accelerator driver"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_AES)) || $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_CRYP))
|
||||
depends on SOC_FAMILY_STM32
|
||||
default y
|
||||
depends on DT_HAS_ST_STM32_AES_ENABLED || DT_HAS_ST_STM32_CRYP_ENABLED
|
||||
select USE_STM32_HAL_CRYP
|
||||
select USE_STM32_HAL_CRYP_EX
|
||||
help
|
||||
|
|
|
|||
Loading…
Reference in a new issue