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,URIBL_BLOCKED,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 EFBB7C4338F for ; Fri, 20 Aug 2021 20:53:52 +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 4278E61130 for ; Fri, 20 Aug 2021 20:53:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4278E61130 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 C11BD82E1E; Fri, 20 Aug 2021 22:53:29 +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 EB58D82DE8; Fri, 20 Aug 2021 22:53:09 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) (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 2C4FF80F4B for ; Fri, 20 Aug 2021 22:52:59 +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 (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MMX5X-1malvE294x-00JcwG; Fri, 20 Aug 2021 22:52:47 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Heiko Thiery , Stefano Babic , Fabio Estevam , Frieder Schrempf , Marcel Ziswiler , "NXP i.MX U-Boot Team" , Simon Glass , Tom Rini Subject: [PATCH v1 4/7] ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation Date: Fri, 20 Aug 2021 22:52:27 +0200 Message-Id: <20210820205230.1369683-5-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210820205230.1369683-1-marcel@ziswiler.com> References: <20210820205230.1369683-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:C1llwlj2nAz6unOQ6nCQxeQ/ySoeYgR4uh8DWfZ9H9r9nLHMQcF qB6PsubReAfjRyxk386tFXiDh3+w5dOVfHUZw1Uk163RktIXJ+mk3CAgQtlp1Kd9gWY4ZcA rEmS4WyavqPyqqtgJguTzKa8vw0WhgE2jvnCuqSj7uizihZQQifEB02DWhROSbN+0mibMV4 rM/1VZMiDSjQwbq4MDOlQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:y4qvjSYRBSM=:TnTvErlSgmL5uzpP2m1MMC BiWf4s2Ew0my1AUXTWrpG5uSkA/CbyywM1z8x2MRcuOy3I4ZvT6aGXlzWM8FbHObFfD2u5yrN iY0bLDHCHAYYVHBcAbOQDNLEoswkTH3gUPGeifhTrFHKnI/z5XhmIoeEatW2/vH03vpVYmcKy 8qLOOlybFujFexcwlNJhBach/cZqTpewXHv6n1JiY4K1iM6qfNkzqBKoF+q6FQd+xIiAOzy24 X4X/ao+3G2EZvVdiNopiop7tXBfmfpAyloobGIez619NBDddMpNOYm8DmV+L12EWk0oClFl2W bGfgCGjPvYqYLotT1Kei7gxWhVEiKW4lq2Zk+jxvxdGwomciZrBilfyNOQAEctx2V0ecioYQJ 98CSjRbZbH4wRrC4IWoZWPlLMqeAtS9/YE7SZSwH5IbQeClgicV5hcSkI1EubfD79S4O9Z30b q+xCw026ZBEomps5EpXpHIHR0ZT0PiunRY4S482XqzqcT7JW2LVC3qhGkb935WUXsLO4MfUY6 UsH2XIdxLM2drU9Qx1wpHhZC17D9vAVOf8o2wcUgWBtXb1Q7SBkEaeqk7ilKivPfdi2bKuBZl kCFjORcV3Dc9QbrEcPK72Mt+M2Jeo7WnVqrrbG6vcIuxtUlccuorwsAieDiAwAYouUOT0xV+1 pCmaSB0NvaNVtsbvlBSD69zHxCfpYWYESX39h/Kp2pgZ8CtvgsXrO9/+u9qKNYemsKOsQv+E+ Cny8DXK2y2BhDnryISJvc95JGbTEFbeNbtzcRyyrXFfjFVZCmRNhNO9cdlJqWCNM97YmW9AhT swFkwO4ecGvAnV60AXL7pdkl3FCS93xZkY5Gfc97famlI1q13pYQmjphlgTREEp4wkbXEI3 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 --- 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