GNU Linux-libre 4.14.332-gnu1
[releases.git] / drivers / staging / ccree / ssi_config.h
1 /*
2  * Copyright (C) 2012-2017 ARM Limited or its affiliates.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, see <http://www.gnu.org/licenses/>.
15  */
16
17 /* \file ssi_config.h
18  * Definitions for ARM CryptoCell Linux Crypto Driver
19  */
20
21 #ifndef __SSI_CONFIG_H__
22 #define __SSI_CONFIG_H__
23
24 #include <linux/version.h>
25
26 //#define FLUSH_CACHE_ALL
27 //#define COMPLETION_DELAY
28 //#define DX_DUMP_DESCS
29 // #define DX_DUMP_BYTES
30 // #define CC_DEBUG
31 #define ENABLE_CC_SYSFS         /* Enable sysfs interface for debugging REE driver */
32 //#define DX_IRQ_DELAY 100000
33 #define DMA_BIT_MASK_LEN        48      /* was 32 bit, but for juno's sake it was enlarged to 48 bit */
34
35 #endif /*__DX_CONFIG_H__*/
36