commit | a1cf573ee95d5a15bdd1d33310d179d92b229dd1 | [log] [tgz] |
---|---|---|
author | Andrey Smirnov <[email protected]> | Tue Aug 20 13:23:59 2019 -0700 |
committer | Herbert Xu <[email protected]> | Fri Aug 30 18:05:30 2019 +1000 |
tree | 96a1ac431cc4109999c499f574b10684b39a7714 | |
parent | dff36801a9f0cca4f8b074b4c8229dcc0400acd1 [diff] |
crypto: caam - select DMA address size at runtime i.MX8 mScale SoC still use 32-bit addresses in its CAAM implmentation, so we can't rely on sizeof(dma_addr_t) to detemine CAAM pointer size. Convert the code to query CTPR and MCFGR for that during driver probing. Signed-off-by: Andrey Smirnov <[email protected]> Cc: Chris Spencer <[email protected]> Cc: Cory Tusar <[email protected]> Cc: Chris Healy <[email protected]> Cc: Lucas Stach <[email protected]> Cc: Horia Geantă <[email protected]> Cc: Aymen Sghaier <[email protected]> Cc: Leonard Crestez <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Herbert Xu <[email protected]>