crypto: ccree - correct host regs offset
The product signature and HW revision register have different offset on the
older HW revisions.
This fixes the problem of the driver failing sanity check on silicon
despite working on the FPGA emulation systems.
Fixes: 27b3b22dd9
("crypto: ccree - add support for older HW revs")
Cc: stable@vger.kernel.org
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -129,6 +129,8 @@ struct cc_drvdata {
|
||||
enum cc_hw_rev hw_rev;
|
||||
u32 hash_len_sz;
|
||||
u32 axim_mon_offset;
|
||||
u32 sig_offset;
|
||||
u32 ver_offset;
|
||||
};
|
||||
|
||||
struct cc_crypto_alg {
|
||||
|
Reference in New Issue
Block a user