crypto: marvell - Move SRAM I/O operations to step functions
authorRomain Perier <romain.perier@free-electrons.com>
Tue, 21 Jun 2016 08:08:37 +0000 (10:08 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Jun 2016 10:17:25 +0000 (18:17 +0800)
commit2786cee8e50bb4b4303dc22665f391b72318fa84
treed56824641545a3493e330ea5b735dbc65277b3c5
parent1bf6682cb31dff64c11564fe0c12ddd2cda23626
crypto: marvell - Move SRAM I/O operations to step functions

Currently the crypto requests were sent to engines sequentially.
This commit moves the SRAM I/O operations from the prepare to the step
functions. It provides flexibility for future works and allow to prepare
a request while the engine is running.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/cipher.c
drivers/crypto/marvell/hash.c