Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95BFFC433EF for ; Wed, 6 Oct 2021 21:29:01 +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 EC393611C1 for ; Wed, 6 Oct 2021 21:29:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EC393611C1 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 2896B83458; Wed, 6 Oct 2021 23:28:52 +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 1A27983476; Wed, 6 Oct 2021 23:28:32 +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 56FC98340A for ; Wed, 6 Oct 2021 23:28:24 +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.toradex.int ([66.171.181.186]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M5ukJ-1mjhje24r3-00xvKF; Wed, 06 Oct 2021 23:28:11 +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 v4 03/10] ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation Date: Wed, 6 Oct 2021 23:27:49 +0200 Message-Id: <20211006212757.464740-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211006212757.464740-1-marcel@ziswiler.com> References: <20211006212757.464740-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:1vJcyqArUcm7007yBzXFCpA/Wmrvgd86AfgyE3ss8gey8D6tswE +ghGtInTBgf9bKHA88ci5luK1lGEjwxZh6w+K3qwqVz7QNAKVAOAT1KFZx7jLBgRZ1AYkTT HWY7lXouQTt6MrE0P95KiBhkO+/p2WxQwElSKY3JrPA8hB8qikIYssl0VBd4OrsDim9UpB6 IX7QAaZaA7oaIbyunOyeg== X-UI-Out-Filterresults: notjunk:1;V03:K0:XVmqmMTzBzk=:oVKtIgTsPlqLf4QZnYYQuC 5m0zfC4zb+9S2iPFODt9jGJiOfm5HOF4ZFeygOnSqUDHHRGQUh7rE8jy9riFwCZNOZ7ElqMAB 2yO5dusPK/FEFfTekd8sAIUDPaP5UYVsCSJl5djL/tJNKCMPm7nxPFSapCYJHenPRFqfMblQz Sf0lTaCKF+gtbN0PPgPbFZ5+zEsIk8GQrg5j7BsnGdW41JJWQ4p1XVIMXCoQYWwrK8dPNB7Ur hiGsViMCtPibCQQyYEaTM+zWvB7KND1/lYjytY3Me68G56+gjGPCJb0inlEt+F5ULktzDNGfw 45ahzBbfoNb7R4bU8Y8pYFmFc/Qmz5XtblTY0bXgRnJnnbJ0c9UAEsvjDEQgvfbU8aPLR9p63 VPAtY13YhCa/v52XFIPJt+phqxrUrmuZzScxU/lm53ITTowmV20/nLnVt5MjRArPT5hsxplPH vfi35/+nGtnDGm3Ns0O7hnIroVdD5XTSoVvc4PMRwFuZkvjHs8O0e1KfhZd18AEZDr22mYIIq o8GzSAW8YcS5lhfGORn25h/aXxBMxHa08PMSPhwrSUeHVYBSuxGpjFKTB6FeVYV52qBrRDVwQ cp/ianHeymg4H0ChxJtTzGyO7KYbIiLFwH7tipTQMynkoxFG/uGb8y2S6hflVrX/WjgJt+w1T d0d8pLJmqshsC4Sw9WzZUuPBGNQmbNd7WxZsgrgSDpy+SXAfgFSQ2uu9/QkqaywGebh+BQWIt sl29CjdTJ6iUzO/lIV2nUdSY3/M/9cVn8sJGpg== 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 Reviewed-by: Fabio Estevam --- (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