{"id":2223214,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2223214/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260414155928.1391211-1-krzysztof@kd-solutions.pl/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260414155928.1391211-1-krzysztof@kd-solutions.pl>","date":"2026-04-14T15:59:28","name":"imx93: Add support for OPTEE","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"6ef3422928f8cbbc5505d7a642680c9ded9d9a73","submitter":{"id":93150,"url":"http://patchwork.ozlabs.org/api/1.1/people/93150/?format=json","name":"Krzysztof Drobiński","email":"krzysztof@kd-solutions.pl"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260414155928.1391211-1-krzysztof@kd-solutions.pl/mbox/","series":[{"id":499882,"url":"http://patchwork.ozlabs.org/api/1.1/series/499882/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=499882","date":"2026-04-14T15:59:28","name":"imx93: Add support for OPTEE","version":1,"mbox":"http://patchwork.ozlabs.org/series/499882/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2223214/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2223214/checks/","tags":{},"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=kd-solutions.pl header.i=@kd-solutions.pl\n header.a=rsa-sha256 header.s=x header.b=UX/C8Bpw;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=fail (p=quarantine dis=none) header.from=kd-solutions.pl","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=kd-solutions.pl header.i=@kd-solutions.pl\n header.b=\"UX/C8Bpw\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=kd-solutions.pl","phobos.denx.de;\n spf=pass smtp.mailfrom=krzysztof@kd-solutions.pl"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fwC6G2lJCz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2026 04:12:06 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id B834B8421D;\n\tTue, 14 Apr 2026 20:11:56 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 00764841CD; Tue, 14 Apr 2026 17:59:58 +0200 (CEST)","from mail-d13.seohost-mail.eu (mail-d13.seohost-mail.eu\n [153.92.25.142])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id D08E283693\n for <u-boot@lists.denx.de>; Tue, 14 Apr 2026 17:59:56 +0200 (CEST)","from [77.236.6.67]\n (helo=krzysztof-drobinski-HP-EliteBook-660-16-inch-G11-Notebook-PC.lan)\n by h74.seohost.pl with esmtpsa  (TLS1.3) tls TLS_AES_256_GCM_SHA384\n (Exim 4.99.1) (envelope-from <krzysztof@kd-solutions.pl>)\n id 1wCgBA-0000000CzA8-0ev4; Tue, 14 Apr 2026 17:59:56 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n d=kd-solutions.pl; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version\n :Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:\n Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:\n List-Subscribe:List-Post:List-Owner:List-Archive;\n bh=8GLg1fHDAN+of8bqXDBdmu/6hc5dkIhZMb8ZKYW87Os=; b=UX/C8Bpwp4+CLgMO44GmHb5BtY\n K0dqDJgAfuWLAG8Y1DToK+PE2w+QjBjnlWNMnSeZja9M4Vf0IdvTTc0QEgWNakBJD2hnzVNoScr4i\n VGOIBo2ck7aVuWeBEiuPXBOBnEoxgUdw2zVCcM5dwL3ORLhuPcKNPa5YxXIBvAho/51YYOMViFSqu\n YxjWt3mXYYPOaty5tkbHfxriIlZ14rn1LkNlQN42hPgJdWAciGOdVOikoyFXvvigZ1HGMVEHDbt5S\n aHszos0JpUV8tTY2IHiyFY1wrbxJtvpI5G8Y10Al0tXL6j4yFqHvbLAfwm6Cbm9a2ZW+2GIfLAdqr\n BvMkyHew==;","From":"=?utf-8?q?Krzysztof_Drobi=C5=84ski?= <krzysztof@kd-solutions.pl>","To":"u-boot@lists.denx.de","Cc":"sbabic@nabladev.com, festevam@gmail.com, trini@konsulko.com,\n jeremie.dautheribes@bootlin.com, krzysztof@kd-solutions.pl","Subject":"[PATCH] imx93: Add support for OPTEE","Date":"Tue, 14 Apr 2026 17:59:28 +0200","Message-ID":"<20260414155928.1391211-1-krzysztof@kd-solutions.pl>","X-Mailer":"git-send-email 2.51.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","X-Authenticated-Id":"krzysztof@kd-solutions.pl","X-Mailman-Approved-At":"Tue, 14 Apr 2026 20:11:54 +0200","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"OPTEE-OS starts correctly when \"opteed\" is enabled for Secure Payload\nDispatcher in TF-A (tested on OP-TEE version: 4.9.0), however imx93\ndevices require a patch for OPTEE targets because binman does not see\nthe tee.bin file when it is available.\n\nEnable conditional OPTEE support for imx93 devices.\n\nSigned-off-by: Krzysztof Drobiński <krzysztof@kd-solutions.pl>\n---\n arch/arm/dts/imx93-u-boot.dtsi | 3 +++\n 1 file changed, 3 insertions(+)","diff":"diff --git a/arch/arm/dts/imx93-u-boot.dtsi b/arch/arm/dts/imx93-u-boot.dtsi\nindex dc86746ac90..60648bd10a5 100644\n--- a/arch/arm/dts/imx93-u-boot.dtsi\n+++ b/arch/arm/dts/imx93-u-boot.dtsi\n@@ -69,6 +69,9 @@\n \t\t\t\tcontainer;\n \t\t\t\timage0 = \"a55\", \"bl31.bin\", \"0x204E0000\";\n \t\t\t\timage1 = \"a55\", \"u-boot.bin\", \"0x80200000\";\n+#if defined(CONFIG_OPTEE)\n+\t\t\t\timage2 = \"a55\", \"tee.bin\", \"0x96000000\";\n+#endif\n \t\t\t};\n \t\t};\n \t};\n","prefixes":[]}