All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick DELAUNAY <patrick.delaunay@foss.st.com>
To: Alexandru Gagniuc <mr.nuke.me@gmail.com>, <u-boot@lists.denx.de>
Cc: <marex@denx.de>, Patrice CHOTARD <patrice.chotard@foss.st.com>,
	Etienne Carriere <etienne.carriere@linaro.org>,
	U-Boot STM32 <uboot-stm32@st-md-mailman.stormreply.com>
Subject: Re: [PATCH 09/10] ARM: dts: stm32mp: Add OP-TEE "/firmware" node to SPL dtb
Date: Tue, 31 Aug 2021 19:27:15 +0200	[thread overview]
Message-ID: <525d8f3c-9961-0102-854b-553bf8906137@foss.st.com> (raw)
In-Reply-To: <20210826214209.254461-10-mr.nuke.me@gmail.com>

Hi,

On 8/26/21 11:42 PM, Alexandru Gagniuc wrote:
> This node is required in SPL when booting an OP-TEE payload. Add it to
> the SPL devicetree.
>
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
> ---
>   arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
> index 0101962ea5..2e65b9b4d5 100644
> --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
> @@ -31,6 +31,7 @@
>   		optee {
>   			compatible = "linaro,optee-tz";
>   			method = "smc";
> +			u-boot,dm-spl;
>   		};
>   	};
>   


NAK = the OP-TEE nodes are ADDED by the OP-TEE firmware

when SPL is running the OP-TEE firmware is not running and the OP-TEE 
driver is not probed

=> this nodes are not required

This node should be present ONLY for backyard compatibility (STM32IMAGE 
support in U-Boot trusted boot)


regards


Patrick


  reply	other threads:[~2021-08-31 17:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-26 21:41 [PATCH 00/10] stm32mp1: Support falcon mode with OP-TEE payloads Alexandru Gagniuc
2021-08-26 21:42 ` [PATCH 01/10] stm32mp1: Add support for baudrates higher than 115200 Alexandru Gagniuc
2021-08-31 16:05   ` Patrick DELAUNAY
2021-08-26 21:42 ` [PATCH 02/10] stm32mp1: Add support for falcon mode boot from SD card Alexandru Gagniuc
2021-08-31 16:30   ` Patrick DELAUNAY
2021-08-26 21:42 ` [PATCH 03/10] board: stm32mp1: Implement board_fit_config_name_match() for SPL Alexandru Gagniuc
2021-08-31 16:39   ` Patrick DELAUNAY
2021-08-26 21:42 ` [PATCH 04/10] fdt_support: Implement fdt_ethernet_set_macaddr() Alexandru Gagniuc
2021-08-26 23:35   ` Sean Anderson
2021-08-26 23:50     ` Alex G.
2021-08-26 21:42 ` [PATCH 05/10] arm: stm32mp: bsec: Do not skip .probe() for SPL Alexandru Gagniuc
2021-08-31 16:54   ` Patrick DELAUNAY
2021-08-26 21:42 ` [PATCH 06/10] arm: stm32mp: Factor out reading MAC address from OTP Alexandru Gagniuc
2021-08-26 21:42 ` [PATCH 07/10] stm32mp1: spl: Configure MAC address when booting OP-TEE Alexandru Gagniuc
2021-08-31 17:10   ` Patrick DELAUNAY
2021-08-31 19:13     ` Alex G.
2021-08-26 21:42 ` [PATCH 08/10] lib: Makefile: Make optee library available in SPL Alexandru Gagniuc
2021-08-31 17:16   ` Patrick DELAUNAY
2021-08-26 21:42 ` [PATCH 09/10] ARM: dts: stm32mp: Add OP-TEE "/firmware" node to SPL dtb Alexandru Gagniuc
2021-08-31 17:27   ` Patrick DELAUNAY [this message]
2021-08-26 21:42 ` [PATCH 10/10] stm32mp1: spl: Copy optee nodes to target FDT for OP-TEE payloads Alexandru Gagniuc
2021-08-31 17:24   ` Patrick DELAUNAY
2021-09-01 15:10     ` Alex G.
2021-09-02 17:34       ` Alex G.
2021-09-03  9:51         ` Patrick DELAUNAY
2021-09-02 21:45       ` Etienne Carriere

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525d8f3c-9961-0102-854b-553bf8906137@foss.st.com \
    --to=patrick.delaunay@foss.st.com \
    --cc=etienne.carriere@linaro.org \
    --cc=marex@denx.de \
    --cc=mr.nuke.me@gmail.com \
    --cc=patrice.chotard@foss.st.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-stm32@st-md-mailman.stormreply.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.