crypto/fsl: support newer SEC modules
authorMichael Walle <michael@walle.cc>
Sat, 27 Jun 2020 20:58:50 +0000 (22:58 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 27 Jul 2020 08:46:29 +0000 (14:16 +0530)
commit0dc596127c55e5430bd8f213e41a24c8f440c01a
tree031cb8acb91ca4364064dda023555a15b7123012
parent277405b86ce112e5be39d75ceccb4f0b4e45e1dc
crypto/fsl: support newer SEC modules

Since Era 10, the version registers changed. Add the version registers
and use them on newer modules.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/crypto/fsl/jr.c
include/fsl_sec.h