From d4d8edf88544e4df694d32594c3dde63f82be960 Mon Sep 17 00:00:00 2001 From: Alex Porosanu Date: Wed, 14 Aug 2013 18:56:46 +0300 Subject: 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 Signed-off-by: Herbert Xu --- drivers/crypto/caam/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/crypto/caam/Makefile') diff --git a/drivers/crypto/caam/Makefile b/drivers/crypto/caam/Makefile index b1eb448..d56bd0e 100644 --- a/drivers/crypto/caam/Makefile +++ b/drivers/crypto/caam/Makefile @@ -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 -- cgit v1.1