crypto: caam - add option for enabling DEBUG mode
This patch adds an option to the Kconfig file for
SEC which enables the user to see the debug messages
that are printed inside the SEC driver.
Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit d4d8edf885)
[<vicki.milhoan@freescale.com>: Edited to apply to 3.10]
Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
This commit is contained in:
committed by
Neena Busireddy
parent
addbe3a507
commit
40fa8cdb47
@ -146,3 +146,11 @@ config CRYPTO_DEV_FSL_CAAM_SECVIO
|
||||
Enables installation of an interrupt handler with registrable
|
||||
handler functions which can be specified to act on the consequences
|
||||
of a security violation.
|
||||
|
||||
config CRYPTO_DEV_FSL_CAAM_DEBUG
|
||||
bool "Enable debug output in CAAM driver"
|
||||
depends on CRYPTO_DEV_FSL_CAAM
|
||||
default n
|
||||
help
|
||||
Selecting this will enable printing of various debug
|
||||
information in the CAAM driver.
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
#
|
||||
# Makefile for the CAAM backend and dependent components
|
||||
#
|
||||
ifeq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG), y)
|
||||
EXTRA_CFLAGS := -DDEBUG
|
||||
endif
|
||||
|
||||
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam.o
|
||||
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API) += caamalg.o
|
||||
|
||||
Reference in New Issue
Block a user