# Arm CC3xx hw driver for nRF52840 and nRF9160
#
# Copyright (c) 2019 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Defining MCUBOOT symbol here to avoid an issue discovered when building
# multi image zephyr/mcuboot.
config MCUBOOT
	bool

config HW_CC3XX_FORCE_ALT
	bool
	depends on SOC_COMPATIBLE_NRF
	help
	  This option can be enabled to force an alternative implementation of
	  the Arm CC3xx hardware driver.

if !HW_CC3XX_FORCE_ALT

config HW_CC3XX
	bool "Arm CC3xx hw driver for Nordic devices"
	depends on HAS_HW_NRF_CC310 || HAS_HW_NRF_CC312
	depends on !TRUSTED_EXECUTION_NONSECURE
	select NRF_CC3XX_PLATFORM
	default y
	help
	  This option enables the Arm CC3xx hw devices in nRF52840, nRF53, and nRF9160 devices.

endif # !HW_CC3XX_FORCE_ALT
