mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [ptxdist] [PATCH 2/2] optee: make version configurable
Date: Wed, 22 Nov 2023 20:05:25 +0100	[thread overview]
Message-ID: <20231122190525.2114139-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20231122190525.2114139-1-a.fatoum@pengutronix.de>

Other bootloaders and firmware already have Kconfig-able version, so add
these options to optee as well.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 platforms/optee.in | 8 ++++++++
 rules/optee.make   | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/platforms/optee.in b/platforms/optee.in
index 371f5b237ffa..81f8a08b13aa 100644
--- a/platforms/optee.in
+++ b/platforms/optee.in
@@ -19,6 +19,14 @@ menuconfig OPTEE
 
 if OPTEE
 
+config OPTEE_VERSION
+	string "OP-TEE Version"
+	default "3.20.0"
+
+config OPTEE_MD5
+	string "OP-TEE Source MD5"
+	default "4ffc0d561f9db90180575992beac5a9d"
+
 config OPTEE_PLATFORM
 	string
 	prompt "OP-TEE Platform"
diff --git a/rules/optee.make b/rules/optee.make
index a3735dc0f605..d246a6922099 100644
--- a/rules/optee.make
+++ b/rules/optee.make
@@ -16,8 +16,8 @@ endif
 #
 # Paths and names
 #
-OPTEE_VERSION	:= 3.20.0
-OPTEE_MD5	:= 4ffc0d561f9db90180575992beac5a9d
+OPTEE_VERSION	:= $(call ptx/config-version, PTXCONF_OPTEE)
+OPTEE_MD5	:= $(call ptx/config-md5, PTXCONF_OPTEE)
 OPTEE		:= optee-$(OPTEE_VERSION)
 OPTEE_SUFFIX	:= tar.gz
 OPTEE_URL	:= https://github.com/OP-TEE/optee_os/archive/$(OPTEE_VERSION).$(OPTEE_SUFFIX)
-- 
2.39.2




  reply	other threads:[~2023-11-22 19:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-22 19:05 [ptxdist] [PATCH 1/2] optee: support empty OPTEE_PLATFORM_FLAVOUR Ahmad Fatoum
2023-11-22 19:05 ` Ahmad Fatoum [this message]
2023-11-27 16:35   ` [ptxdist] [PATCH 2/2] optee: make version configurable Michael Olbrich
2023-11-27 16:41     ` Ahmad Fatoum
2023-12-01 14:42       ` Michael Olbrich
2023-11-28  8:36 ` [ptxdist] [APPLIED] optee: support empty OPTEE_PLATFORM_FLAVOUR Michael Olbrich

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=20231122190525.2114139-2-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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