From: David Lechner <dlechner@baylibre.com>
To: Carlo Caione <ccaione@baylibre.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>,
u-boot@lists.u-boot-project.org,
GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>
Cc: Bhupesh Sharma <bhupesh.linux@gmail.com>,
Neha Malcom Francis <n-francis@ti.com>,
Tom Rini <trini@konsulko.com>, Jens Wiklander <jenswi@kernel.org>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Jan Kiszka <jan.kiszka@siemens.com>,
James Hilliard <james.hilliard1@gmail.com>,
Jerome Forissier <jerome.forissier@arm.com>,
Johan Jonker <jbx6244@gmail.com>,
Ryder Lee <ryder.lee@mediatek.com>,
Weijie Gao <weijie.gao@mediatek.com>,
Chunfeng Yun <chunfeng.yun@mediatek.com>,
Igor Belwon <igor.belwon@mentallysanemainliners.org>,
Julien Stephan <jstephan@baylibre.com>,
Macpaul Lin <macpaul.lin@mediatek.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Quentin Schulz <quentin.schulz@cherry.de>
Subject: Re: [PATCH v2 6/7] configs: mediatek: add a UFS RPMB fragment
Date: Thu, 19 Nov 2026 17:51:48 -0600 [thread overview]
Message-ID: <9e662c2f-eab2-486e-9fba-9d0679bf3c8f@baylibre.com> (raw)
In-Reply-To: <20261116-genio720-ufs-rpmb-minimal-v2-6-b64eefcfb0f6@baylibre.com>
On 11/16/26 2:45 PM, Carlo Caione wrote:
> RPMB-backed services need provisioned storage and matching secure
> firmware. Keep them optional so the Genio 520 and 720 can use their
> existing defconfigs for both eMMC and UFS. Share the OP-TEE client
> configuration and select the UFS device tree with DEVICE_TREE.
>
> Signed-off-by: Carlo Caione <ccaione@baylibre.com>
> ---
> board/mediatek/MAINTAINERS | 1 +
> board/mediatek/mtk-ufs-rpmb.config | 3 +++
> configs/mt8189.config | 2 ++
> 3 files changed, 6 insertions(+)
>
> diff --git a/board/mediatek/MAINTAINERS b/board/mediatek/MAINTAINERS
> index eaf645086f6..8159cdbaf5f 100644
> --- a/board/mediatek/MAINTAINERS
> +++ b/board/mediatek/MAINTAINERS
> @@ -4,6 +4,7 @@ S: Maintained
> F: arch/arm/dts/mt8189*
> F: arch/arm/dts/mt8371-genio-*
> F: arch/arm/dts/mt8391-genio-*
> +F: board/mediatek/mtk-ufs-rpmb.config
> F: configs/mt8189.config
> F: configs/mt8371_genio_*
> F: configs/mt8391_genio_*
> diff --git a/board/mediatek/mtk-ufs-rpmb.config b/board/mediatek/mtk-ufs-rpmb.config
> new file mode 100644
> index 00000000000..dcb59e6ce18
> --- /dev/null
> +++ b/board/mediatek/mtk-ufs-rpmb.config
> @@ -0,0 +1,3 @@
> +CONFIG_CMD_OPTEE_RPMB=y
> +CONFIG_SUPPORT_UFS_RPMB=y
> +CONFIG_EFI_MM_COMM_TEE=y
> diff --git a/configs/mt8189.config b/configs/mt8189.config
> index a60f67bd7cb..54de8d94861 100644
> --- a/configs/mt8189.config
> +++ b/configs/mt8189.config
> @@ -51,6 +51,8 @@ CONFIG_MTK_SERIAL=y
> CONFIG_SPI=y
> CONFIG_DM_SPI=y
> CONFIG_MTK_SNOR=y
> +CONFIG_TEE=y
> +CONFIG_OPTEE=y
> CONFIG_USB=y
> CONFIG_USB_XHCI_HCD=y
> CONFIG_USB_XHCI_MTK=y
>
FYI, we have some other changes in-flight that might cause merge conflict
with this. So I can take this patch through the Mediatek tree after the
rest of it lands if we want.
Otherwise,
Reviewed-by: David Lechner <dlechner@baylibre.com>
next prev parent reply other threads:[~2026-11-19 23:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 20:45 [PATCH v2 0/7] Enable UFS RPMB-backed OP-TEE secure storage on Genio 720 Carlo Caione
2026-11-16 20:45 ` [PATCH v2 1/7] ufs: rpmb: validate requests before issuing commands Carlo Caione
2026-11-16 20:45 ` [PATCH v2 2/7] ufs: rpmb: stop the model string at its NUL terminator Carlo Caione
2026-11-16 20:45 ` [PATCH v2 3/7] tee: optee: keep UFS RPMB discovery state consistent Carlo Caione
2026-11-16 20:45 ` [PATCH v2 4/7] tee: optee: enumerate UFS RPMB services when consumers exist Carlo Caione
2026-11-16 20:45 ` [PATCH v2 5/7] cmd: allow the OP-TEE RPMB command with UFS storage Carlo Caione
2026-11-16 20:45 ` [PATCH v2 6/7] configs: mediatek: add a UFS RPMB fragment Carlo Caione
2026-11-19 23:51 ` David Lechner [this message]
2026-11-16 20:45 ` [PATCH v2 7/7] doc: uefi: mention UFS RPMB for OP-TEE variable storage Carlo Caione
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=9e662c2f-eab2-486e-9fba-9d0679bf3c8f@baylibre.com \
--to=dlechner@baylibre.com \
--cc=GSS_MTK_Uboot_upstream@mediatek.com \
--cc=bhupesh.linux@gmail.com \
--cc=ccaione@baylibre.com \
--cc=chunfeng.yun@mediatek.com \
--cc=igor.belwon@mentallysanemainliners.org \
--cc=ilias.apalodimas@linaro.org \
--cc=james.hilliard1@gmail.com \
--cc=jan.kiszka@siemens.com \
--cc=jbx6244@gmail.com \
--cc=jenswi@kernel.org \
--cc=jerome.forissier@arm.com \
--cc=jorge.ramirez@oss.qualcomm.com \
--cc=jstephan@baylibre.com \
--cc=macpaul.lin@mediatek.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=n-francis@ti.com \
--cc=neil.armstrong@linaro.org \
--cc=quentin.schulz@cherry.de \
--cc=ryder.lee@mediatek.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.org \
--cc=weijie.gao@mediatek.com \
--cc=xypron.glpk@gmx.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 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.