summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/caamalg.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-08-20 22:23:56 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-30 10:05:30 +0200
commite27d96298bb893aacfeced1045c757b51abf301b (patch)
tree184f01972b71f42ce068a0341e967603f4bef5f2 /drivers/crypto/caam/caamalg.c
parentcrypto: caam - make CAAM_PTR_SZ dynamic (diff)
downloadlinux-e27d96298bb893aacfeced1045c757b51abf301b.tar.xz
linux-e27d96298bb893aacfeced1045c757b51abf301b.zip
crypto: caam - move cpu_to_caam_dma() selection to runtime
Instead of selecting the implementation of cpu_to_caam_dma()/caam_dma_to_cpu() at build time using the preprocessor, convert the code to do that at run-time using IS_ENABLED macro. This is needed to add support for i.MX8MQ. No functional change intended. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Chris Spencer <christopher.spencer@sea.co.uk> Cc: Cory Tusar <cory.tusar@zii.aero> Cc: Chris Healy <cphealy@gmail.com> Cc: Lucas Stach <l.stach@pengutronix.de> Cc: Horia Geantă <horia.geanta@nxp.com> Cc: Aymen Sghaier <aymen.sghaier@nxp.com> Cc: Leonard Crestez <leonard.crestez@nxp.com> Cc: linux-crypto@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/caamalg.c')
0 files changed, 0 insertions, 0 deletions