Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44320C4338F for ; Mon, 23 Aug 2021 15:04:53 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8CAB961265 for ; Mon, 23 Aug 2021 15:04:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8CAB961265 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 851CD82D52; Mon, 23 Aug 2021 17:04:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 0534F8020E; Mon, 23 Aug 2021 17:04:29 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A92D38020E for ; Mon, 23 Aug 2021 17:04:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=marcel@ziswiler.com Received: from toolbox.cardiotech.int ([81.221.236.183]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MYhG8-1mUqvB3jik-00VTQC; Mon, 23 Aug 2021 17:04:12 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Stefano Babic , Heiko Thiery , Fabio Estevam , Frieder Schrempf , Marcel Ziswiler , "NXP i.MX U-Boot Team" , Simon Glass , Tom Rini Subject: [PATCH v2 3/9] ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation Date: Mon, 23 Aug 2021 17:03:51 +0200 Message-Id: <20210823150357.247295-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210823150357.247295-1-marcel@ziswiler.com> References: <20210823150357.247295-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:lu80fy4PQbYf22CiuDJmzLYd5jZJJp4r2dXSEiDe8Vrn1Nsm5zw 2svbegCPBaKdJjFIxsZPQk6DO3J36N56aMfpY9040UeGkcpIAt84BNTdrQ7PyMy0N4mH4EA pagh8MTrj1zoZTR6JC1E9B++IV9bE0JGM/q2OknMRQytlQhgCh8+fgPSJyCZ9PTlhR9E+F2 jaPPCeI6Em7IK3HjMnOWg== X-UI-Out-Filterresults: notjunk:1;V03:K0:8ck6RvFODEk=:3Xv27J140hFbtUeiJ2mbVk LUi1m2sG+PpujHY85OsW/WYOyGk2GxXu/c9BAgHzmH2406H41mWLRARKQrkFzAQ1kAeZmy6mp Dw8tKPlRmdqmOmfBuW/2wXNI/Cl6kksYTpFAoXPX8B4NbD25JkXKtofts6RKq2p5zVi6Kc5Xb 6WYHEqmdsriC6IPSaNlzr4uhmPIbKZ+ieyK70cFDN1TDfH1rbJClenxuRYAuIuSq25fmGvc6F ajfmEfP4xAgycbtDQSDk2svRieDqWXEv5624uF1EdtTXpf+pxPNhRvKxwOb2c89lf115aHmxs TY5G7KEUz8fuMy8SomFjXHln6O0YTJpQAflwzIi7gE8t2ZryeWIpwBPezITLHkMBj0pChJva5 oqmmYutiGEr72iTDsBSws4xzIupblQGq2GPknJitORo0Igej13gcAQNcXSsOsQ50cMJ2dGO/r N5ItUjUmw+JEtZ/17U2AlPeZ7KS1esE5eZp+DbueYz07RQo3bSi68qYheqt4SZl0Y43/AzMt7 ep7hhVZDSEHVOgILImrft5EAIW/YoU7CQSMWz5dx+B4MUKeNNBd4taXqc12H2L4WKgUNFVL6y KnnDd2U8c7BzkDRT8/CWJpqPIIX2q2luipShiHZ36d1x/wJI/qG+9kHFa1PNpGDBw2XfYAz47 Iy0ZDvpfuZBku6TsA8f7SbJYUYHnuAmo4A+AKAZH5CuJg/RnGD1TFSM+46wT9QCNM8Z1c2V3c 6q7sE/kWafbFBcoZLCuGQCNZeB8lQ2nb33HCr8vAn7QONKIbpcvqdxUnYvER9JFhHSISJIwpm +MQrtGJyF4TcYaK9iQasCSsIPdqBXth3ksqiGdGaNbcrLarxxCP7ctnX0YnWtC1DgrJPig2 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 From: Marcel Ziswiler Prepare for DEK blob encapsulation support through "dek_blob" command. On ARMv8, u-boot runs in non-secure, thus cannot encapsulate a DEK blob for encrypted boot. The DEK blob is encapsulated by OP-TEE through a trusted application call. U-boot sends and receives the DEK and the DEK blob binaries through OP-TEE dynamic shared memory. To enable the DEK blob encapsulation, add to the defconfig: CONFIG_SECURE_BOOT=y CONFIG_FAT_WRITE=y CONFIG_CMD_DEKBLOB=y Taken from NXP's commit 56d2050f4028 ("imx8m: Add DEK blob encapsulation for imx8m"). Signed-off-by: Marcel Ziswiler --- (no changes since v1) arch/arm/dts/imx8mm-verdin-u-boot.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/imx8mm-verdin-u-boot.dtsi b/arch/arm/dts/imx8mm-verdin-u-boot.dtsi index 67c31c49b6c..a97626fa0c1 100644 --- a/arch/arm/dts/imx8mm-verdin-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-verdin-u-boot.dtsi @@ -6,6 +6,13 @@ #include "imx8mm-u-boot.dtsi" / { + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; + wdt-reboot { compatible = "wdt-reboot"; wdt = <&wdog1>; -- 2.26.2