crypto: stm32 - Save 54 CSR registers

The CSR registers go from 0 to 53.  So the number of registers
should be 54.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Herbert Xu 2023-03-11 17:09:10 +08:00
parent 68629182cd
commit 6bf6b6438f

View File

@ -68,7 +68,7 @@
#define HASH_MASK_DATA_INPUT BIT(1)
/* Context swap register */
#define HASH_CSR_REGISTER_NUMBER 53
#define HASH_CSR_REGISTER_NUMBER 54
/* Status Flags */
#define HASH_SR_DATA_INPUT_READY BIT(0)