summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2021-08-10 17:12:19 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2021-08-18 15:55:15 +0530
commitcb0db5b948aacead6816873870d8f23b654b8a5f (patch)
tree47554c636f6995f5a189615ad3790504b6043e7d /drivers
parent3bd5ea566eeec9373c7413d383f02096f5f9aaa4 (diff)
downloadu-boot-cb0db5b948aacead6816873870d8f23b654b8a5f.tar.gz
u-boot-cb0db5b948aacead6816873870d8f23b654b8a5f.tar.bz2
u-boot-cb0db5b948aacead6816873870d8f23b654b8a5f.zip
crypto/fsl: fix missed dma_addr_t -> caam_dma_addr_t conversion
One of the "dma_addr_t" instances was left out when converting to "caam_dma_addr_t". Fixes: 2ff17d2f74c5 ("crypto: fsl: refactor for 32 bit version CAAM support on ARM64") Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/fsl/jobdesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/fsl/jobdesc.c b/drivers/crypto/fsl/jobdesc.c
index d235415531..c350b32856 100644
--- a/drivers/crypto/fsl/jobdesc.c
+++ b/drivers/crypto/fsl/jobdesc.c
@@ -300,7 +300,7 @@ void inline_cnstr_jobdesc_rng_deinstantiation(u32 *desc, int handle)
void inline_cnstr_jobdesc_rng(u32 *desc, void *data_out, u32 size)
{
- dma_addr_t dma_data_out = virt_to_phys(data_out);
+ caam_dma_addr_t dma_data_out = virt_to_phys(data_out);
init_job_desc(desc, 0);
append_operation(desc, OP_ALG_ALGSEL_RNG | OP_TYPE_CLASS1_ALG |