crypto: sa2ul - Add support for AM64
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 13 Apr 2021 09:15:59 +0000 (14:45 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Apr 2021 07:31:30 +0000 (17:31 +1000)
commit0bc42311cdff4ee8bdf08f68b28b0307895df90b
tree6affe453fe0dd58a88c6a6948e185e8eaff84bd9
parente8a4529d4598467577b847a8ace14ecc479e4f64
crypto: sa2ul - Add support for AM64

The sa2ul module in am64 have limited support for algorithms, and the
priv and priv_id used on the platform is different compared to AM654 or
j721e.

Use match data to get the SoC specific information and use it throughout
the driver.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vaibhav Gupta <v_gupta@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sa2ul.c
drivers/crypto/sa2ul.h