Skip to content

Commit

Permalink
plat-stm32mp1: conf: default enable HASH
Browse files Browse the repository at this point in the history
Default enable HASH compilation.
Enable CFG_STM32_CRYPTO_DRIVERS if any crypto IP is compiled.

Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
  • Loading branch information
tbourgoi committed Feb 3, 2025
1 parent da45a49 commit f44378c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/arch/arm/plat-stm32mp1/conf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ CFG_STM32_BSEC ?= y
CFG_STM32_CRYP ?= y
CFG_STM32_ETZPC ?= y
CFG_STM32_GPIO ?= y
CFG_STM32_HASH ?= y
CFG_STM32_I2C ?= y
CFG_STM32_IWDG ?= y
CFG_STM32_PKA ?= y
Expand All @@ -261,7 +262,10 @@ $(call force,CFG_STM32_GPIO,y)
endif

# If any crypto driver is enabled, enable the crypto-framework layer
ifeq ($(call cfg-one-enabled, CFG_STM32_CRYP CFG_STM32_PKA CFG_STM32_SAES),y)
ifeq ($(call cfg-one-enabled, CFG_STM32_CRYP \
CFG_STM32_HASH \
CFG_STM32_PKA \
CFG_STM32_SAES),y)
$(call force,CFG_STM32_CRYPTO_DRIVER,y)
endif

Expand Down

0 comments on commit f44378c

Please sign in to comment.