summaryrefslogblamecommitdiffstats
path: root/drivers/staging/ccree/ssi_config.h
blob: ee2d310473ea5c2301fe721f212c74a6b7d1878d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                         
  


                                                                       
  



                                                                  
  




                                                                       
                                                     

   

                       


                          

                          

                        
                   

                                                     
                             

                                                               
 
                          
 
/*
 * Copyright (C) 2012-2017 ARM Limited or its affiliates.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 */

/* \file ssi_config.h
 * Definitions for ARM CryptoCell Linux Crypto Driver
 */

#ifndef __CC_CONFIG_H__
#define __CC_CONFIG_H__

#include <linux/version.h>

//#define FLUSH_CACHE_ALL
//#define COMPLETION_DELAY
//#define CC_DUMP_DESCS
// #define CC_DUMP_BYTES
// #define CC_DEBUG
/* Enable sysfs interface for debugging REE driver */
#define ENABLE_CC_SYSFS
//#define CC_IRQ_DELAY 100000
/* was 32 bit, but for juno's sake it was enlarged to 48 bit */
#define DMA_BIT_MASK_LEN	48

#endif /*__CC_CONFIG_H__*/