diff options
author | Horia Geant? <horia.geanta@nxp.com> | 2016-01-12 17:14:10 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-25 22:39:03 +0800 |
commit | 624144a7eb2c9abcf76722d29f983cdf9801bb2e (patch) | |
tree | d84f55d2225a6a40a7c63769a8da9b0f3266d9f4 /drivers/crypto/caam/ctrl.c | |
parent | ba171135bfa584096ca5ee42c9527777b7d48474 (diff) | |
download | linux-624144a7eb2c9abcf76722d29f983cdf9801bb2e.tar.gz linux-624144a7eb2c9abcf76722d29f983cdf9801bb2e.tar.bz2 linux-624144a7eb2c9abcf76722d29f983cdf9801bb2e.zip |
crypto: caam - enable LARGE_BURST for enhancing DMA transactions size
Increasing CAAM DMA engine transaction size either
-reduces the number of required transactions or
-adds the ability to transfer more data with same transaction count
Signed-off-by: Horia Geant? <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/ctrl.c')
-rw-r--r-- | drivers/crypto/caam/ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index 69d4a1326fee..44d30b45f3cc 100644 --- a/drivers/crypto/caam/ctrl.c +++ b/drivers/crypto/caam/ctrl.c @@ -534,7 +534,7 @@ static int caam_probe(struct platform_device *pdev) * long pointers in master configuration register */ clrsetbits_32(&ctrl->mcr, MCFGR_AWCACHE_MASK, MCFGR_AWCACHE_CACH | - MCFGR_AWCACHE_BUFF | MCFGR_WDENABLE | + MCFGR_AWCACHE_BUFF | MCFGR_WDENABLE | MCFGR_LARGE_BURST | (sizeof(dma_addr_t) == sizeof(u64) ? MCFGR_LONG_PTR : 0)); /* |