From mboxrd@z Thu Jan 1 00:00:00 1970 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 14008C433F5 for ; Fri, 8 Oct 2021 19:59:37 +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 72BBD60F57 for ; Fri, 8 Oct 2021 19:59:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 72BBD60F57 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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 619EA83657; Fri, 8 Oct 2021 21:58:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="YrQsKFch"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A446D833E6; Fri, 8 Oct 2021 21:57:23 +0200 (CEST) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8B5B983629 for ; Fri, 8 Oct 2021 21:57:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mr.nuke.me@gmail.com Received: by mail-ot1-x32e.google.com with SMTP id 5-20020a9d0685000000b0054706d7b8e5so13009552otx.3 for ; Fri, 08 Oct 2021 12:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4UWwb6TK5ZBGUNJllPEhVGvn32f8p2DeoKrN5rNHt4I=; b=YrQsKFchPJiBoWr0muZxXCCAvChzhyBsRTs1a+LmIe3dMh0KTmb9sHQ3NAMmUVk73m oZ02CE4qe3a7V9xXmUDZC1uKshBLwkz+dJMCqI6mVxz+a3TAyTYIAFPuMDzlQ/7kSCKh wjy+qsHB4zB1tOvpxVHuwqzz/S3Zohp6dgu9idTWzOe1esK5Dzd9EY9kWZ35+bDXKL0r 7+r85mqAnjAYUDd8C02gpqe8MsYb4RzWcp/YWdsFQk5Pwdi3BG2AyQJymg5wD5tkJ1U9 K7sJiioTq7MNeT2Am/IqGp+X8ZU5In4dT63kUbAHnHbyglbmW/2GF/DmkHl6iVVRsxmu 8cmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4UWwb6TK5ZBGUNJllPEhVGvn32f8p2DeoKrN5rNHt4I=; b=NibzrdB5a6HoBNMYFCPUcvpn+D5e55sAgtoflrWF1Qj6GwjG6b2VpQ61m9IeOdeW2W ZtcIIsb9asz1JgyTPsPovNfaZV/bHfT6m3S5/6vb5I625lBqA5KaRs7GanY6F8Dn+jlt BctdjgjgNxCwYyjxHoQ6XiXLieJqXe97FLPdFxeQH7llf7EQCpuFn/kpZywoVMbW/1dK exVx9pa45LRXBt0KH/RXSpVDdCI8C2D2Ck5SY5aR+nLWVnm7iPlGW7ELWQvHrPzqD1bB JV0rpxSPQoezkk+jSECpbQd+NUDy++pku4lngMAM6uBbArjvxZpOD6QTNVgEUE5uyNAJ U1VA== X-Gm-Message-State: AOAM53279XgGOpDT+ThNhfzE2r3gNPZIQuyTupiKexvQ1i/pN5zidN/d JOARicpb3jolktXgHpDChxfIj4fN06w= X-Google-Smtp-Source: ABdhPJw3LCYvRiqwEncO2dyfOOdMHXszOId13VNJez3qor5fVXR3Ug6f3AyLlXXI5HW9pYOdl8T1hw== X-Received: by 2002:a05:6830:112:: with SMTP id i18mr10265221otp.186.1633723032949; Fri, 08 Oct 2021 12:57:12 -0700 (PDT) Received: from nuclearis3.lan (c-98-195-139-126.hsd1.tx.comcast.net. [98.195.139.126]) by smtp.gmail.com with ESMTPSA id x8sm67409otg.31.2021.10.08.12.57.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 12:57:12 -0700 (PDT) From: Alexandru Gagniuc To: u-boot@lists.denx.de, uboot-stm32@st-md-mailman.stormreply.com, patrick.delaunay@foss.st.com Cc: Alexandru Gagniuc , patrice.chotard@foss.st.com, etienne.carriere@linaro.org Subject: [PATCH v3 13/13] ARM: dts: stm32mp: dts: Don't remove OPTEE nodes for DK2 boards Date: Fri, 8 Oct 2021 14:56:55 -0500 Message-Id: <20211008195655.46046-14-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211008195655.46046-1-mr.nuke.me@gmail.com> References: <20211008195655.46046-1-mr.nuke.me@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 To prepare for an OP-TEE payload, the spl_board_prepare_for_optee() handler of STM32MP calls. stm32_init_tzc_for_optee(), which will panic(). The reason for the panic is a failure to locate a valid "/reserved-memory/optee" node in the devicetree. This all occurs in SPL, so to re-add the OP-TEE memory nodes to the SPL devicetree. Signed-off-by: Alexandru Gagniuc --- arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi index fb60549f4d..fe347377ba 100644 --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi @@ -27,10 +27,7 @@ config { u-boot,mmc-env-partition = "ssbl"; }; -#endif -#ifdef CONFIG_STM32MP15x_STM32IMAGE - /* only needed for boot with TF-A, witout FIP support */ firmware { optee { compatible = "linaro,optee-tz"; -- 2.31.1