[PATCH] Support fsl-dcp crypto coprocessor

Robert Schwebel r.schwebel at pengutronix.de
Tue Apr 23 08:34:08 EDT 2013


On Tue, Apr 23, 2013 at 11:47:40AM +0200, Christoph G. Baumann wrote:
> From: "Christoph G. Baumann" <cb at sgoc.de>
> 
> The following patch is a port of the original driver from Freescale to
> the current mainline. The patch was tested under 3.7.
> 
> Signed-off-by: "Christoph G. Baumann" <cb at sgoc.de>
> ---
>  drivers/staging/crypto/Kconfig               |   15 +
>  drivers/staging/crypto/Makefile              |    1 +
>  drivers/staging/crypto/fsl-dcp.c             | 1817 ++++++++++++++++++++++++++
>  drivers/staging/crypto/fsl-dcp.h             |  739 +++++++++++
>  include/linux/fsl/fsl-dcp_bootstream_ioctl.h |   32 +
>  5 files changed, 2604 insertions(+)
>  create mode 100644 drivers/staging/crypto/Kconfig
>  create mode 100644 drivers/staging/crypto/Makefile
>  create mode 100644 drivers/staging/crypto/fsl-dcp.c
>  create mode 100644 drivers/staging/crypto/fsl-dcp.h
>  create mode 100644 include/linux/fsl/fsl-dcp_bootstream_ioctl.h

IMHO it doesn't make any sense to push this into staging. The Freescale
kernel is full of drivers which are not ready for mainline yet.

Until now, it was a good strategy to wait until some code is needed,
then clean it up, adapt it to the right kernel APIs and push it into
non-staging mainline.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list