From patchwork Tue Nov 30 10:40:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaurav Jain X-Patchwork-Id: 1561504 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=JsnJDold; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J3Jg33WYFz9sWJ for ; Tue, 30 Nov 2021 21:41:35 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6370183075; Tue, 30 Nov 2021 11:41:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="JsnJDold"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F36DA8306E; Tue, 30 Nov 2021 11:41:26 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.2 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on060d.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::60d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E8A6382FB3 for ; Tue, 30 Nov 2021 11:41:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=gaurav.jain@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M/Es82t2naovw72k0knGj7de9IFDepMOnl2PVcQtZhQhxGvQ6CX+BjG4kMT63onPApz2cnIWdz4KGWOZNsCOIJ/WKq4qkLe9GBZOxbVG72C/JU3Z9kecZGVojkP2VdX1WCOo3CLcmoRe49qJhY7P1iFF+davvVx7quAjtV+vpxpMBFdtJekoFKef6bzVgagsh8lWgPkUTAWxSn5VrjOPXJ3JKP1eK1CiIIscc78JmtxQlm9aVIwte4e7nZgkraQDA//V0ZfJOA57qB78uaG+/z3rCEe51FZHliSiqNfRq+QOEyeiSIbGkTxmLNbeYg3cKgNB4OAx23tyetomAa8Cxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Q0qI24jIAr9L9VQvWmW7yWaf2oXNoov1hv6iuWU9M+o=; b=oOONwgZE470Pl1CyZUsqQcwXlD4BVEoTYXseOp1eVVv6FD6UeSOZNuJUY/OoV8/if81vx5zpgwem33j94ian/RlmsB7wOx2BvzLSUGWmXhQtR1gH20yTkbE5OPDd8WMXTjbczTET2Tqud4AqqOE79ThfquIGgZTj72rnfhategQaEyFP0wTjD/zSQhbi2Y3j61y1oz7GPX1EoBihLSjG6FSFQV7KR2DFHoeqKF170BT/geXRWA9tyJlZb8y1T99kxAVrZkWPKq056RFrbTrTLKrR+3xlVCZ52G6iBRafxsUwAO7OdbTucT8KbPOp3MDklMkVFha4AjpnfsuheqdDaA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q0qI24jIAr9L9VQvWmW7yWaf2oXNoov1hv6iuWU9M+o=; b=JsnJDoldHzSDqCPNGeFJ+GGNT275SYOh/GDsvtclgWkEKmn0//Ud+dTH2ejuSYGz2D1st5TdG5dZhgaCkvrAJSgk/ZjCWo+3VShJXKVxZgNRlrfwb33BI+tPi88xMvt86mqbXTUwrTsWQTrg/Zc68mWwKFCFI0ln62R0YhKxjig= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5342.eurprd04.prod.outlook.com (2603:10a6:803:46::16) by VE1PR04MB7327.eurprd04.prod.outlook.com (2603:10a6:800:1ac::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.11; Tue, 30 Nov 2021 10:41:18 +0000 Received: from VI1PR04MB5342.eurprd04.prod.outlook.com ([fe80::9c7:29fc:3544:10fb]) by VI1PR04MB5342.eurprd04.prod.outlook.com ([fe80::9c7:29fc:3544:10fb%3]) with mapi id 15.20.4734.024; Tue, 30 Nov 2021 10:41:18 +0000 From: Gaurav Jain To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , Peng Fan , Simon Glass , Priyanka Jain , Ye Li , Horia Geanta , Ji Luo , Franck Lenormand , Silvano Di Ninno , Sahil malhotra , Pankaj Gupta , Varun Sethi , "NXP i . MX U-Boot Team" , Shengzhou Liu , Mingkai Hu , Rajesh Bhagat , Meenakshi Aggarwal , Wasim Khan , Alison Wang , Pramod Kumar , Tang Yuantian , Adrian Alonso , Vladimir Oltean , Gaurav Jain Subject: [PATCH v6 00/15] Add CAAM driver model support Date: Tue, 30 Nov 2021 16:10:33 +0530 Message-Id: <20211130104048.6207-1-gaurav.jain@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SG2P153CA0054.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::23) To VI1PR04MB5342.eurprd04.prod.outlook.com (2603:10a6:803:46::16) MIME-Version: 1.0 Received: from lsv03326.swis.in-blr01.nxp.com (14.142.151.118) by SG2P153CA0054.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::23) with Microsoft SMTP Server (version=TLS1_2, cipher=) via Frontend Transport; Tue, 30 Nov 2021 10:41:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e5a34ebf-6140-485c-647e-08d9b3edf0b0 X-MS-TrafficTypeDiagnostic: VE1PR04MB7327: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1728; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MNUv79Uus+kCNKhlVkFywNvcNYkm4SvEKYregE/PURweIJo1YUWnHrLcygEiytNfkO2e5NTO25txtHxGFKKRII8Q5h7MHSYnBMechmesQ3ElVqsDnrf6AwBB7o8I+QbhQ+wQm0g+ye0Qd3bJ/vBBUZzkU45CUAOjWD9KDU8uFzBsfyvZDiNPZ76ynBd2T6+zVutuER9fNlpSf/CVBMXw0n0smE7Hh1b5LY4g19xthHmxxqRxlHkAccweK9fD2ZeC4wfSILqRDOuxq2q5aKKx+MArfttbRXaSgtCe6qtAjEHJxWaLK51RFPCNUVFmKfGNt8U4ieul2ddmo07wOGiRpIZTWsfSMW8QAO1+Wop+Auu0SODz0QknW/5VdFj8oATiFgxhSnsLw8oFoggGFEXwb8QMpEn2HwY7dytiawlIhRHE+PPHqWlYHLIDvh4ATV4ZTmqiTTIKxCXMhom3HX7EdU8lzdiWOI1gSh6MeB+d1rMt14c0mNFuT12+avql7lrXWRbOumi2L5o0Ur3AXw4SeiHQ/183PVQzExsGxrIDTL123X9QtZr9niir4yJrFCOw3WWBmvUoBELVpfBWOewFbDIBXwuMni4ZSSC1rxadoGoFXThtiFHEvRFU25GOr/2SAAJlgQ/JxWywkacI8IyQ061996KJR8QJNq2B+Fn4qDeli16yn4jBpWTUKqYuQdbDJA0cPILcN3yhFUkz23MB7l/+TryR5AZIaId3WW3KT8LVwZUMm7a9Yxj+I4ZYl4XQB86ymzWSafbVCtK3WSwsLX6k5+DbXm60ctgrYQm9L7n9NuY7JL8/f/ZXtwSqC8+y X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5342.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(36756003)(4326008)(5660300002)(54906003)(1076003)(2906002)(7696005)(52116002)(508600001)(26005)(316002)(186003)(966005)(8936002)(6486002)(8676002)(19627235002)(86362001)(956004)(83380400001)(44832011)(2616005)(1006002)(6666004)(55236004)(66946007)(66476007)(66556008)(6916009)(38100700002)(38350700002)(110426009); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?/n9FLXSAdjT54ORlkp/vmp0bbaWW?= =?utf-8?q?1OAFxKL4okaQlnn+ZusxKrN0e4O+AesVZWI5jzGapp0rE1T3I7seYjzd62Qy7Siib?= =?utf-8?q?9gDKrc7FuMBWb4YUbduGP5+HtrpopDknZhTq6hEplAyyZBAOrvyIn5BAhbm5b5eCU?= =?utf-8?q?6B6RdG2QfSFzt/NfjzBGrdwTQYvjg1fMB4ONhdVgwewDVqrvaxuX3A9v6wSrPRl3X?= =?utf-8?q?tcDzh36H1M5a2vQwVv01kJqDstShhvhd6AKkKNSXUJb3Yv98VlYQyRSisiqLuLKWn?= =?utf-8?q?Imy4vsoSE1w876Yi2P5X+7d5bhvkm4SBIeaQjmoAikn+9MXDa58EcYUroyYXNuMWb?= =?utf-8?q?Oy3x2hMn9HnMrdsZ7Uh6Q42XbQC0Y/ST3LooxF2MKKyDegZpyH5Nar/pLcNBhBUc3?= =?utf-8?q?YdCa+ZfssudZkR/pEOgze73llqQJ2oqCrAHbeNkKtLH4L+qgXyIYruOYMZKL5Bw9Y?= =?utf-8?q?jz6BLqfEw0yqrab6Vf/MiMmekbrEujyuVp+z/7tEoKL/67YRdQBfZEyncAjxwmkeZ?= =?utf-8?q?6j3a8/dEIBK4/VGW8YnP5MKpjayCdLOn0phMJO9NDUnfFLlZh3WelBDrZgqNRB/hK?= =?utf-8?q?hMsreuuXGqnRRwSdqMJBF+f2xLoYPqQaY/Il3HyQ4b7525ipsNVA50K050oIttAYP?= =?utf-8?q?t57i2qlnallFBw/PWKeC2nSlYDLK8xETD/GKA1qzGel3jZKLEaVf6g9eCoMHVbyts?= =?utf-8?q?Aonaw52DhkZEiWz0KFEtCipFZwPYbQMbkGi/xV/1zZzqHMOwW2+VFeoqHoe5nsdkV?= =?utf-8?q?kt/5PZ8WEYQovs6oQgpfrKMt1K+grDtu1jJJLJc21A0AL39QUq+qDLbWu8ShElaRc?= =?utf-8?q?TfoLToCXeBH/pa4ePQJzKJ17vaRD1xPyuFrMno2NmZjP0ZbIXuuemum/5oZBdL7AR?= =?utf-8?q?BrstcljSFPZpo5e1aB6LaqSbzNsfjqomjc8Fq6DjilG0+wLMsr8eD9kg5Mm/ato91?= =?utf-8?q?VStzuGUutlF2pLzG1fOZluJvEa83/NBqayzn+F9RlO5lOtIEJJyfK9FnvGj5Q+D65?= =?utf-8?q?9qJPHgFgt32q6i+h9FNu/MxaE0Oj2paJdRIPjXsCVxOxTYT4pviRUBRqIymNJZwDs?= =?utf-8?q?8/Awp1ZUfQZIwYGsED3SODTOIgHVIHu8ercSZcjq4/67gtIOHbDzVxIuJk4nDE1M3?= =?utf-8?q?3mIXMZE1QRrNd5ZoBPi6P/ta7Hh3R3YLpIALaN66p2MGlPPVEXFoCfbVpkgF7ufma?= =?utf-8?q?AEPgRlHKs7K5ZN/tbDoPpEq7x+p6UXueBpHmotT3vJ7SJ+busKbpICdkMvdPi+yJB?= =?utf-8?q?e3iq6Fg/3hg7CJkEX160Z3rx61sCE/CqyUITDwpRIzEgiPIkP1KNkvoxzcKFuMonc?= =?utf-8?q?isLk2CSRzTqYEHFmNK+dKAi1mAPDMZ2sQXs+hiJaSKgGIf4k0qjMo+VbZPM3OFtdS?= =?utf-8?q?MF7o0p7iyrcUDLugUdTPQe9jm1vNKR3cmCmDz+6M25t0uh6dtLAhNqwKntLBeWCk4?= =?utf-8?q?gyQjZY1iKHCY0It5kRyeLeSV/7uSZUDelFxm/tKpbBwHSqFsQrtf7cR2t6XJ0PhgA?= =?utf-8?q?7fWFjz4cmy/JxmV75SCToRhsaGmqmvtnFXMSY4Hr5631EY0BY0W0pBM=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5a34ebf-6140-485c-647e-08d9b3edf0b0 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5342.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2021 10:41:18.4444 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3OukSj8MjOdUkFyCSXMHcIjkgi7195HQvIxNf3PcH8fpEfdKHFE+tdwyG+BSgPS8SRbZBY/F05plebvakuq9Vg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7327 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This patchset adds the support for following: 1) CAAM Driver model for all i.MX, layerscape, PPC platforms. 2) Added crypto node in device tree files. 3) fix build issue for mx6sabre: Remove SPL DTB related configs and SPL_OF_CONTROL. 4) improve hwrng performance in kernel. i.MX platforms: i.MX6, i.MX7, i.MX7ULP, i.MX8MM/MN/MP/MQ, i.MX8QM/QXP Layerscape platforms: LS1021, LS1012, LS1028, LS1043, LS1046, LS1088, LS2088, LX2160, LX2162 Powerpc platforms: P3041, P4080, P5040, P2041, T1024, T1042, T2080, T4240 changes since v5: - rebase to latest master - updated BIT() macro for JRDID in drivers/crypto/fsl/jr.h - removed auto select FSL_BLOB from CMD_BLOB config. - removed patch for blob key encryption key(bkek), random number generation. - updated patch description for improving hwrng performance in kernel. - removed sec_init() from kontron/sl28. - for LS1028A architecture, enable CAAM only for LS1028AQDS and LS1028ARDB. changes since v4: - rebase to latest master - updated caam_jr_probe() with livetree APIs. - imx8m: moved jr0 disable code to *-uboot.dtsi files. changes since v3: - rebase to latest master - fixed build error when new file arch/powerpc/include/asm/u-boot-ppc.h is included from assembly files. - removed arch/arm/dts/fsl-ls1028a.dtsi as it is conflicting with the series https://lore.kernel.org/u-boot/20211013161427.612033-1-michael@walle.cc/ Gaurav Jain (13): crypto/fsl: Add support for CAAM Job ring driver model i.MX8M: crypto: updated device tree for supporting DM in SPL crypto/fsl: i.MX8M: Enable Job ring driver model in SPL and U-Boot. i.MX6: Enable Job ring driver model in U-Boot. i.MX7: Enable Job ring driver model in U-Boot. i.MX7ULP: Enable Job ring driver model in U-Boot. i.MX8: Add crypto node in device tree crypto/fsl: i.MX8: Enable Job ring driver model in SPL and U-Boot. Layerscape: Add crypto node in device tree Layerscape: Enable Job ring driver model in U-Boot. PPC: Add crypto node in device tree PPC: Enable Job ring driver model in U-Boot update CAAM MAINTAINER Ye Li (2): mx6sabre: Remove unnecessary SPL configs crypto/fsl: Improve hwrng performance in kernel MAINTAINERS | 6 + arch/arm/Kconfig | 15 +- arch/arm/cpu/armv7/ls102xa/Kconfig | 4 + arch/arm/cpu/armv7/ls102xa/cpu.c | 16 + arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 24 + arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 10 +- arch/arm/dts/fsl-imx8dx.dtsi | 61 ++- arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 34 +- arch/arm/dts/fsl-imx8qm.dtsi | 61 ++- arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi | 34 +- arch/arm/dts/fsl-ls1012a.dtsi | 46 +- arch/arm/dts/fsl-ls1043a.dtsi | 45 +- arch/arm/dts/fsl-ls1046a.dtsi | 44 ++ arch/arm/dts/fsl-ls1088a.dtsi | 39 ++ arch/arm/dts/fsl-ls2080a.dtsi | 39 ++ arch/arm/dts/fsl-lx2160a.dtsi | 41 +- arch/arm/dts/imx7ulp.dtsi | 24 + arch/arm/dts/imx8mm-evk-u-boot.dtsi | 19 +- arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 19 +- arch/arm/dts/imx8mp-evk-u-boot.dtsi | 19 +- arch/arm/dts/imx8mq-evk-u-boot.dtsi | 4 + arch/arm/dts/ls1021a.dtsi | 40 ++ arch/arm/include/asm/arch-imx8/imx-regs.h | 5 +- arch/arm/include/asm/arch-imx8m/imx-regs.h | 1 + arch/arm/mach-imx/cmd_dek.c | 1 + arch/arm/mach-imx/imx8/Kconfig | 9 + arch/arm/mach-imx/imx8/cpu.c | 16 +- arch/arm/mach-imx/imx8m/Kconfig | 23 + arch/arm/mach-imx/imx8m/soc.c | 10 +- arch/arm/mach-imx/mx6/Kconfig | 20 + arch/arm/mach-imx/mx6/soc.c | 12 +- arch/arm/mach-imx/mx7/Kconfig | 3 + arch/arm/mach-imx/mx7/soc.c | 11 +- arch/arm/mach-imx/mx7ulp/Kconfig | 4 + arch/arm/mach-imx/mx7ulp/soc.c | 16 + arch/powerpc/cpu/mpc85xx/Kconfig | 44 ++ arch/powerpc/cpu/mpc85xx/cpu_init.c | 17 +- arch/powerpc/dts/p2041si-post.dtsi | 1 + arch/powerpc/dts/p3041si-post.dtsi | 1 + arch/powerpc/dts/p4080si-post.dtsi | 1 + arch/powerpc/dts/p5040si-post.dtsi | 1 + arch/powerpc/dts/qoriq-sec4.0-0.dtsi | 74 +++ arch/powerpc/dts/qoriq-sec4.2-0.dtsi | 83 ++++ arch/powerpc/dts/qoriq-sec5.2-0.dtsi | 92 ++++ arch/powerpc/dts/t1023si-post.dtsi | 1 + arch/powerpc/dts/t1042si-post.dtsi | 1 + arch/powerpc/dts/t2080si-post.dtsi | 1 + arch/powerpc/dts/t4240si-post.dtsi | 1 + arch/powerpc/include/asm/u-boot-ppc.h | 17 + arch/powerpc/include/asm/u-boot.h | 1 + board/freescale/imx8mm_evk/spl.c | 9 +- board/freescale/imx8mn_evk/spl.c | 8 +- board/freescale/imx8mp_evk/spl.c | 13 +- board/freescale/imx8mq_evk/spl.c | 9 +- board/freescale/imx8qm_mek/spl.c | 6 +- board/freescale/imx8qxp_mek/spl.c | 6 +- board/freescale/ls1012afrdm/ls1012afrdm.c | 7 +- board/freescale/ls1012aqds/ls1012aqds.c | 6 +- board/freescale/ls1012ardb/ls1012ardb.c | 6 +- board/freescale/ls1021aiot/ls1021aiot.c | 6 +- board/freescale/ls1021aqds/ls1021aqds.c | 6 +- board/freescale/ls1021atsn/ls1021atsn.c | 7 +- board/freescale/ls1021atwr/ls1021atwr.c | 8 +- board/freescale/ls1028a/ls1028a.c | 6 +- board/freescale/ls1043ardb/ls1043ardb.c | 6 +- board/freescale/ls1046afrwy/ls1046afrwy.c | 7 +- board/freescale/ls1046aqds/ls1046aqds.c | 7 +- board/freescale/ls1046ardb/ls1046ardb.c | 6 +- board/freescale/ls1088a/ls1088a.c | 6 +- board/freescale/ls2080aqds/ls2080aqds.c | 6 +- board/freescale/ls2080ardb/ls2080ardb.c | 9 +- board/freescale/lx2160a/lx2160a.c | 5 - board/kontron/sl28/sl28.c | 3 - configs/P2041RDB_defconfig | 1 - configs/P3041DS_defconfig | 1 - configs/P4080DS_defconfig | 1 - configs/P5040DS_defconfig | 1 - configs/T1024RDB_defconfig | 1 - configs/T1042D4RDB_defconfig | 1 - configs/T2080QDS_defconfig | 1 - configs/T2080RDB_defconfig | 1 - configs/T2080RDB_revD_defconfig | 1 - configs/T4240RDB_defconfig | 1 - configs/ls1021aiot_qspi_defconfig | 1 - configs/ls1021aqds_nor_defconfig | 1 - configs/ls1021aqds_qspi_defconfig | 1 - configs/ls1021atsn_qspi_defconfig | 1 - configs/ls1021atwr_nor_defconfig | 1 - ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 1 + configs/ls1028ardb_tfa_defconfig | 1 - configs/ls1043ardb_tfa_defconfig | 1 - configs/ls1046afrwy_tfa_defconfig | 1 - configs/ls1046aqds_tfa_defconfig | 1 - configs/ls1046ardb_tfa_defconfig | 1 - configs/ls2088aqds_tfa_defconfig | 1 - configs/ls2088ardb_tfa_defconfig | 1 - configs/lx2160aqds_tfa_defconfig | 1 - configs/lx2160ardb_tfa_defconfig | 1 - configs/lx2162aqds_tfa_defconfig | 1 - configs/mx6sabreauto_defconfig | 2 - configs/mx6sabresd_defconfig | 4 - drivers/crypto/fsl/Kconfig | 9 +- drivers/crypto/fsl/Makefile | 2 + drivers/crypto/fsl/jobdesc.c | 4 +- drivers/crypto/fsl/jr.c | 452 +++++++++++++----- drivers/crypto/fsl/jr.h | 14 + include/fsl_sec.h | 13 +- scripts/config_whitelist.txt | 1 + 108 files changed, 1502 insertions(+), 294 deletions(-) create mode 100644 arch/powerpc/dts/qoriq-sec4.0-0.dtsi create mode 100644 arch/powerpc/dts/qoriq-sec4.2-0.dtsi create mode 100644 arch/powerpc/dts/qoriq-sec5.2-0.dtsi create mode 100644 arch/powerpc/include/asm/u-boot-ppc.h