U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yu-Chien Peter Lin <peter.lin@sifive.com>
To: ycliang@andestech.com, trini@konsulko.com, xypron.glpk@gmx.de,
	seashell11234455@gmail.com, dan.carpenter@linaro.org,
	mchitale@ventanamicro.com, ben.dooks@codethink.co.uk,
	u-boot@lists.denx.de
Cc: Yu-Chien Peter Lin <peter.lin@sifive.com>
Subject: [RFC PATCH 1/2] riscv: Add CONFIG_SPL_OPTEE_LOAD_ADDR
Date: Sat, 11 Jan 2025 09:55:26 +0800	[thread overview]
Message-ID: <20250111015527.35528-2-peter.lin@sifive.com> (raw)
In-Reply-To: <20250111015527.35528-1-peter.lin@sifive.com>

Allow specifying load address of OP-TEE binary. It is
recommended that the specified address aligns with the
base address of an PMP-protected NAPOT region and matches
the CFG_TDDRAM_START configuration in OP-TEE.

Signed-off-by: Yu-Chien Peter Lin <peter.lin@sifive.com>
---
 arch/riscv/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a160d24fb03..9a9458026d3 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -582,4 +582,10 @@ config SPL_LOAD_FIT_OPENSBI_OS_BOOT
 	  This is a shortcut boot flow, from u-boot SPL -> OpenSBI -> u-boot proper
 	  -> linux to u-boot SPL -> OpenSBI -> linux.
 
+config SPL_OPTEE_LOAD_ADDR
+	hex "OP-TEE Trusted OS image load address"
+	depends on OPTEE
+	help
+	  Load address of the OP-TEE binary.
+
 endmenu
-- 
2.39.3


  reply	other threads:[~2025-01-11  4:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-11  1:55 [RFC PATCH 0/2] Integrate OP-TEE into the RISC-V boot flow Yu-Chien Peter Lin
2025-01-11  1:55 ` Yu-Chien Peter Lin [this message]
2025-02-03  3:58   ` [RFC PATCH 1/2] riscv: Add CONFIG_SPL_OPTEE_LOAD_ADDR Leo Liang
2025-01-11  1:55 ` [RFC PATCH 2/2] riscv: dts: binman.dtsi: Include OP-TEE OS image Yu-Chien Peter Lin
2025-02-03  3:59   ` Leo Liang

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=20250111015527.35528-2-peter.lin@sifive.com \
    --to=peter.lin@sifive.com \
    --cc=ben.dooks@codethink.co.uk \
    --cc=dan.carpenter@linaro.org \
    --cc=mchitale@ventanamicro.com \
    --cc=seashell11234455@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    --cc=ycliang@andestech.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox