From patchwork Tue Dec 7 07:41:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaurav Jain X-Patchwork-Id: 1564512 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=Retl502o; 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 4J7XM223ZJz9t1r for ; Tue, 7 Dec 2021 18:42:22 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C164283090; Tue, 7 Dec 2021 08:42:10 +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="Retl502o"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2C77B82F98; Tue, 7 Dec 2021 08:42:08 +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 EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2062b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::62b]) (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 04F928306A for ; Tue, 7 Dec 2021 08:42:04 +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=oFXGgptULZcc9CIgU53qEDFyC1aE9ngdfjDX5/KAqPzYerQpgdkzh/c8sdoUX/yGT0BMpsf4SDjEgaucKfj7vb8d0wVGFooyROVU8XoyvROm/7WruxO7gDkTyKvRONsxObprv3qC95A0icpbERvXTBjJ+Nx5wDuDMHj78ZG+YX0NNlgLU6MW45P28285ZV6QZkgfA6Qi6UiJCazlouDtmCL3MAwajNMDjKOHguNQm9Jr6UjLeLdkqzO9RPkaDqCsphHCNVHdF8kJ4OcXzwFBkINR1qW6yT+QX90LS+2dHbbKLmNiXDmwL/yj2Z4DrG/PPM5mhT3ZRSCYbV89OWnNgQ== 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=jEm30Dv8djOOy7yGS2BPGAQtC2ePzA8cp2HV5Ks8t/g=; b=WhO+i/P27IYPYIf9wgei+j/28DK8mxM3rZCgDd23kfiWauOu6seIjhZIYiITbxE5ObJF65BGWTpD3dnZekJ1seli7cNVTO2giYRnZxPZqAP/1apzcAe4uD+mOE8fZ6urhUPeHSghftVJPdaFBe5EVGxuxB8iRwXpuby1l47mzxr0TL4rgGamJQvCT9iZeAtitKndVDOhOqElm4sjWPmrRNG9j4X2UhHWIjbx9uZLwEhYt/xnv/TYGiIq4NZsQnY6lXfwsIRBhkmILvRFoE+EQlKLpxkQdUuIYHbcNIzSVbQ4yPmZ5mfgKS+jljmaUFVulnIT5Zef50LlZqJXRJMddQ== 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=jEm30Dv8djOOy7yGS2BPGAQtC2ePzA8cp2HV5Ks8t/g=; b=Retl502oY11RLEqo8vxRlI4Sf/ngTAVHmBqyBh9Djd/MBOhzaaXolFxToiE+7Mw6zRjQfvPggQ4kzigthrCindmH/SHh3OKmI6eGTNfY3plLlPq4Zsj3F6HRUbvk8tfChEhS04K7RuhmFdJaZmKuCV4gK80YfHWwaq7X28UguMw= 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 VI1PR0402MB2799.eurprd04.prod.outlook.com (2603:10a6:800:b0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.11; Tue, 7 Dec 2021 07:42:02 +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.4755.022; Tue, 7 Dec 2021 07:42:02 +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 v7 00/15] Add CAAM driver model support Date: Tue, 7 Dec 2021 13:11:14 +0530 Message-Id: <20211207074129.10955-1-gaurav.jain@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) 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 SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.16 via Frontend Transport; Tue, 7 Dec 2021 07:41:56 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4c06e077-d6b4-461d-90a6-08d9b9550e88 X-MS-TrafficTypeDiagnostic: VI1PR0402MB2799:EE_ 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: pm+JrvfVsAF9ZGloG00Tt6+IlKgaNoM0i00yoy2KthXecfCd6zIx+EWATcLuT7YC21dbwLW4yYzMToKmDrIxBAJZ1fWO4c+BF74w5Gxgti3PEyGh/1B7MhZeBsw11iSSQwt+IF1vyb41q1xSF4BGU/Y1ysoeDOr/TBTk+rYSY238xv3IV9OsggZQQ5M7g3ARUTEh41snbSXbN7GMOIMFbv0Y6p2pBm8h63fKmCkDCqv01cCGGen+NIqVgcfiu3eEKS0aGFfchgIKYe6YOJPnEZTGYT6bHf+DpzTapXPGKSXwP8lPdjcgBYR/ci3InTYJCN8v4biunh9AfVPPnT590SKy2Fxu1nm40auHOcArSrUpjtmQ2//6kuWHMGJAGCPRwFyLJrFPMxs7BeUFqEiCneIk7pCeniiCdyMNZgX5h+z+uu33qTuecj0xsIY3na2xbGkS87Guc0dN+pV0e6mZgQVXEM5IbwQO6Erc+jbigwCG4YmVucxFShv9o3Uhb9s1EGNGxywMEtSb/o746YAtFWRNdjM67KdbGYavttTkwIhn7xYYoBLeYV1vuVUySXEDpMZHva+zn0tECLOmGjPjRnfrxtKotLFsGAndWgZU82BCv2Kcz77SSrQQTrs3bIYN+ok19Fa7zPIaDy0fxY5iafxprsJ1T/ci7W7q/d9F9XwyY/3FHFOMGFzwSCEyFQnC/4k1SfVjK6jFFHKBMy8yzbh7uebY4aRMaCaXg8+GfokuEJF7a1bBcj2/NhG4jajafzzF1nfUfi++VuxQM9R/jUMnIqOErTa8pDfyZkL266trOlFQwUHzFwwzU/18YHn/ 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)(38350700002)(44832011)(186003)(508600001)(966005)(66946007)(6666004)(38100700002)(19627235002)(6916009)(55236004)(83380400001)(86362001)(956004)(66476007)(2616005)(5660300002)(26005)(66556008)(1076003)(1006002)(36756003)(52116002)(6486002)(2906002)(8936002)(8676002)(54906003)(7696005)(4326008)(316002)(110426009); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?cptYjBmnsR8v3yPu2iNcG73uXw3E?= =?utf-8?q?vh2JdnQUfWKd3X7xzMtlw9O1eEDSnwsbXcOG72MM4rO4fY4EByhvoxATgtrmHoyJU?= =?utf-8?q?rTE3zB/MD13jNIKI7ECoc5xzR/0TjNU1KQYfMWJl7lxrzmGEP5zKxebVQESztMZdC?= =?utf-8?q?sfGWf9YLHailLsF9dgFc8k+3uJoZ3LG53RvdW9kQWWlJLRmYGiaL5Ov+duWKk6crS?= =?utf-8?q?Z/kpIeaSWnXuJpqV+1/IvelHcQlMwJDjpogWJORC/zzoZg19mNKESveImv8w6rUdI?= =?utf-8?q?fVeC5JiJm/ViWdsUEspaU0Hd2s4z8gL9zdK+Wxr7Bg+x189HTKRDCJecliVkgH8j+?= =?utf-8?q?ye9wOkbsFcRB18BQgChUpwD67DDRd54OmeuuyNh0CZ4dknXK/yiJpGLk3Krz3rp2h?= =?utf-8?q?UN6Nls3kJ2E210ta1F2yjgORRm2IarJoNLCgURwDFWSX/vhL0wGlwgfkMsvyv7HPD?= =?utf-8?q?nzOcq+2Np6aShq5mADz768n5dDqmy88gaJqbvJsX5XVzLThxOHmttvAEmgrCfMaMY?= =?utf-8?q?WBBTFMDBS753sEmdnh1ynI0VWMNT6DmLANCzVUMOabeWhxihu0sh4c7pPxmQaOhCN?= =?utf-8?q?ozt7BOYjgzTJl0ABeOFfVB2x7pjYMvrFuMYUeAjRDBDYyMFG30szVQfzQPs4zo1Lq?= =?utf-8?q?sBpRj2YJxuvarXs9GAz+HziECrnKyfwpKzkiQDelwCHGlCriq9BdtY+Qa4drqkxvF?= =?utf-8?q?U6N5EV0ubw+LcPM7nMee/tMfEeqo8XACDgOoKwc+M3m/3DswU5thpGvftJ+Q0bGNw?= =?utf-8?q?a7Fv9U7K314dBeMM6sw4B1Dr6fTnNB/VbVVGvaZcgZwnBlTmC3zURrn951dUjoJL9?= =?utf-8?q?7di1t4GMse8QNreHBaDzOnqJtl7dWAewtGBHqB9PbvhWZ3VBuTF2QsYmJ+u6QeMUP?= =?utf-8?q?42TkmzxgRLKTHjk2BHLf5nA0ZJEqa/hGBJmnI6u2qLYWLthvx7fMxodt6SUGTBhGg?= =?utf-8?q?secNDD7m5mTFggLuVNOYkBS5ZHlPiWTW7VOoYKa5L+L1lZxEWCLHiuaEuG86GopPp?= =?utf-8?q?1YwwK85eVu+lj3j65UH7whcW0OWIdA1zkg7EjHCxxGuI0caQgAl1z9wP4xjJSqTAC?= =?utf-8?q?PU/Gc3yH9GaauRTu6cCqkxxuda3gdTVcfN9UmyRra4XNRY5fDjOHf84p4E5O6lHk7?= =?utf-8?q?x5MYcYDEdKjefVQWrDcjMHzZSHZJDUQTFnSXvsGG8AN+8Ylzf2z9nx2u70my2T5Lm?= =?utf-8?q?Bllqp2ccKJO8Fj5gupktGg+rjrbLgqb6vejvFhRjT3blby1PgKOuAp63t1GD7iA2o?= =?utf-8?q?MqHIqlHG0M95AgokYh9NFAsfgLOPm2njDZjwrRSHO7K4VQw8VOCmzyFBtEsz9mKjg?= =?utf-8?q?KaM6dI3ec8AMZHVI37OK3V4kdq2wXjz5lyLcrEvvA50iexvDpMNjgMa3A58yRKA6H?= =?utf-8?q?TiXY4FZhiLjubTYp5lYejylAklKbXDfL+PwPfGW4icPSHJatenLDGsBA+vwGDzZ/R?= =?utf-8?q?S2islOl49Bp2z35/D836/bQRD4l+9xR1vTbGDXOPlv5OMiN1FCjGO2G1JGkntQAyX?= =?utf-8?q?CGpTPvWtr8zw/WLlmPU+utvS2Pfeb8MdHIJVWKvt5LuaI7OPfGqzXU8=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c06e077-d6b4-461d-90a6-08d9b9550e88 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5342.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2021 07:42:01.9743 (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: gyWBIzBL/NmP0IQbCd6nMPp3AB6oXFuTyeQBbapoa3hA2laTNq9jg02T/6/fLfBDiDQoYcO9rJfLTRlug8Epew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2799 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 v6: - rebase to latest master - added caam_jr_ioctl() operation which calls run_descriptor_jr(). - removed CONFIG_ARCH_IMX8 config from JR driver. - removed FSL_BLOB config 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 | 13 +- arch/arm/cpu/armv7/ls102xa/Kconfig | 3 + arch/arm/cpu/armv7/ls102xa/cpu.c | 16 + arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 17 + 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 | 7 + arch/arm/mach-imx/imx8/cpu.c | 16 +- arch/arm/mach-imx/imx8m/Kconfig | 18 + arch/arm/mach-imx/imx8m/soc.c | 10 +- arch/arm/mach-imx/mx6/Kconfig | 15 + arch/arm/mach-imx/mx6/soc.c | 12 +- arch/arm/mach-imx/mx7/Kconfig | 2 + arch/arm/mach-imx/mx7/soc.c | 11 +- arch/arm/mach-imx/mx7ulp/Kconfig | 3 + arch/arm/mach-imx/mx7ulp/soc.c | 16 + arch/powerpc/cpu/mpc85xx/Kconfig | 33 ++ 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 | 2 +- drivers/crypto/fsl/jr.c | 476 +++++++++++++----- drivers/crypto/fsl/jr.h | 19 + include/fsl_sec.h | 13 +- scripts/config_whitelist.txt | 1 + 106 files changed, 1484 insertions(+), 293 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