crypto: inside-secure - Probe transform record cache RAM sizes
authorPascal van Leeuwen <pascalvanl@gmail.com>
Fri, 6 Sep 2019 14:31:53 +0000 (16:31 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Sep 2019 11:17:58 +0000 (21:17 +1000)
commit465527bcaebc1dcecc77b78ff77936658384152e
tree978ce4e2886b131445c21f7bef12202b88d3d06f
parentb2d92ac1c5eebcb0510939edfdfc2e87330f6679
crypto: inside-secure - Probe transform record cache RAM sizes

This patch actually probes the transform record cache data and
administration RAM sizes, instead of making assumptions, and then
configures the TRC based on the actually probed values.
This allows the driver to work with EIP197 HW that has TRC RAM
sizes different from those of the Marvell EIP197B/D variants.

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h