Skip to content

Commit d293b64

Browse files
strumtrarherbertx
authored andcommitted
crypto: mxc-scc - add basic driver for the MXC SCC
According to the Freescale GPL driver code, there are two different Security Controller (SCC) versions: SCC and SCC2. The SCC is found on older i.MX SoCs, e.g. the i.MX25. This is the version implemented and tested here. As there is no publicly available documentation for this IP core, all information about this unit is gathered from the GPL'ed driver from Freescale. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent ba97eed commit d293b64

3 files changed

Lines changed: 772 additions & 0 deletions

File tree

‎drivers/crypto/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,15 @@ config CRYPTO_DEV_SAHARA
340340
This option enables support for the SAHARA HW crypto accelerator
341341
found in some Freescale i.MX chips.
342342

343+
config CRYPTO_DEV_MXC_SCC
344+
tristate "Support for Freescale Security Controller (SCC)"
345+
depends on ARCH_MXC && OF
346+
select CRYPTO_BLKCIPHER
347+
select CRYPTO_DES
348+
help
349+
This option enables support for the Security Controller (SCC)
350+
found in Freescale i.MX25 chips.
351+
343352
config CRYPTO_DEV_S5P
344353
tristate "Support for Samsung S5PV210/Exynos crypto accelerator"
345354
depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST

‎drivers/crypto/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ obj-$(CONFIG_CRYPTO_DEV_PICOXCELL) += picoxcell_crypto.o
2323
obj-$(CONFIG_CRYPTO_DEV_PPC4XX) += amcc/
2424
obj-$(CONFIG_CRYPTO_DEV_S5P) += s5p-sss.o
2525
obj-$(CONFIG_CRYPTO_DEV_SAHARA) += sahara.o
26+
obj-$(CONFIG_CRYPTO_DEV_MXC_SCC) += mxc-scc.o
2627
obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
2728
obj-$(CONFIG_CRYPTO_DEV_UX500) += ux500/
2829
obj-$(CONFIG_CRYPTO_DEV_QAT) += qat/

0 commit comments

Comments
 (0)