layerscape: add 64b/32b target for ls1012ardb device
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 2119-armv8-aarch32-defconfig-Enable-CAAM-support.patch
1 From 035fe1e511e053c6650f37626deb5da76dcc1d92 Mon Sep 17 00:00:00 2001
2 From: Ying Zhang <ying.zhang22455@nxp.com>
3 Date: Thu, 29 Sep 2016 11:29:48 +0800
4 Subject: [PATCH 119/124] armv8: aarch32: defconfig: Enable CAAM support
5
6 This patch is to enable the driver module for Freescale's Cryptographics
7 Accelerator and Assurance Module (CAAM) and related options.
8
9 Signed-off-by: Alison Wang <alison.wang@nxp.com>
10 ---
11 arch/arm/configs/ls_aarch32_defconfig | 9 +++++++--
12 1 file changed, 7 insertions(+), 2 deletions(-)
13
14 --- a/arch/arm/configs/ls_aarch32_defconfig
15 +++ b/arch/arm/configs/ls_aarch32_defconfig
16 @@ -200,8 +200,13 @@ CONFIG_MAGIC_SYSRQ=y
17 # CONFIG_FTRACE is not set
18 CONFIG_PID_IN_CONTEXTIDR=y
19 CONFIG_CRYPTO_LZO=y
20 -# CONFIG_CRYPTO_ANSI_CPRNG is not set
21 -# CONFIG_CRYPTO_HW is not set
22 +CONFIG_CRYPTO_ANSI_CPRNG=y
23 +CONFIG_CRYPTO_DEV_FSL_CAAM=y
24 +CONFIG_ARM_CRYPTO=y
25 +CONFIG_CRYPTO_SHA1_ARM_NEON=y
26 +CONFIG_CRYPTO_SHA256_ARM=y
27 +CONFIG_CRYPTO_SHA512_ARM_NEON=y
28 +CONFIG_CRYPTO_AES_ARM_BS=y
29 CONFIG_CRC_CCITT=m
30 CONFIG_CRC_T10DIF=y
31 CONFIG_CRC7=m