]> git.baikalelectronics.ru Git - uboot.git/commit
crypto: aspeed: fix polling RSA status wrong issue
authorNeal Liu <neal_liu@aspeedtech.com>
Tue, 15 Feb 2022 10:14:40 +0000 (18:14 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 21 Feb 2022 13:35:40 +0000 (08:35 -0500)
commit4a31add7cd3c01759dd995ea6b9f3322b2a68e41
tree052eb6ef742e65f43d8f77ce9e410846d3527f6e
parent1c2a231e6ef5608210ea6650636d8725cb0f0293
crypto: aspeed: fix polling RSA status wrong issue

Check interrupt status to see if RSA engine is completed. After completion
of the task, write-clear the status to finish operation.
Add missing register base for completion.

Fixes: 4ca3bf6d276 ("crypto: aspeed: Add AST2600 ACRY support")
Signed-off-by: Neal Liu <neal_liu@aspeedtech.com>
Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
drivers/crypto/aspeed/aspeed_acry.c