From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 04 Feb 2026 21:02:16 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vnj4q-008row-39 for lore@lore.pengutronix.de; Wed, 04 Feb 2026 21:02:16 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vnj4n-0005x7-7Y for lore@pengutronix.de; Wed, 04 Feb 2026 21:02:16 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=93ltwIipzisIzwX8+GwnvsNq2N6TfiOnJZbFT82lZ1g=; b=PSdqTGoYU/DlYHooRb88HOqAZh 30nyS/mh5KAzNxxc19MP9bwV8NwJ84ImcPksr7EDy5lCRP5Bmm344b/9G5eYt7Vy6qwhnaG1cZlC0 xH8Tyf7TXO6DLKvPUtjJx4P0T9hW0CNaAavPg9kj2kNGEhk4vJt3CV/Jf2+4GAl7mApNMdVFk6KUg zWV+0KoRo4GbtIRZRqf2Lqi6VD5n8q22JKoRBXsWp6G3Nrp4VjLtfjMbAhj94fTUhcPfN3JjA0qQE 1fQp9oMmOPH+lLu62YCiVf/Gr4ZsKPqJe22BiSgKvC4Jvx6+ZjV3I4N488DyhKkpNXIYr6GO5CWE+ jbexnxKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vnj45-0000000911m-1dJ6; Wed, 04 Feb 2026 20:01:29 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vnj42-000000090yv-3sJw for barebox@lists.infradead.org; Wed, 04 Feb 2026 20:01:28 +0000 Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vnj41-0005Eh-0z; Wed, 04 Feb 2026 21:01:25 +0100 From: Marco Felsch Date: Wed, 04 Feb 2026 21:01:26 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260204-v2025-09-0-topic-optee-of-handling-v2-10-da075e6818e0@pengutronix.de> References: <20260204-v2025-09-0-topic-optee-of-handling-v2-0-da075e6818e0@pengutronix.de> In-Reply-To: <20260204-v2025-09-0-topic-optee-of-handling-v2-0-da075e6818e0@pengutronix.de> To: Sascha Hauer , BAREBOX Cc: Marco Felsch X-Mailer: b4 0.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260204_120127_029276_DEFCBAC0 X-CRM114-Status: UNSURE ( 8.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH v2 10/15] handoff-data: Add TEE_DT_OVL entry X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) Add support to pass a TEE provided FDT overlay from pbl to barebox. Signed-off-by: Marco Felsch --- include/pbl/handoff-data.h | 1 + pbl/handoff-data.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/pbl/handoff-data.h b/include/pbl/handoff-data.h index 7552ed5fc35f351f71822d309095980eaa764f63..399d769f386f30d0fb18a525ccc09cf3f3e8d402 100644 --- a/include/pbl/handoff-data.h +++ b/include/pbl/handoff-data.h @@ -13,6 +13,7 @@ struct handoff_data { #define HANDOFF_DATA_EXTERNAL_DT HANDOFF_DATA_BAREBOX(2) #define HANDOFF_DATA_ARM_MACHINE HANDOFF_DATA_BAREBOX(3) #define HANDOFF_DATA_EFI HANDOFF_DATA_BAREBOX(4) +#define HANDOFF_DATA_TEE_DT_OVL HANDOFF_DATA_BAREBOX(5) #define HANDOFF_DATA_BOARD(n) (0x951726fb + (n)) diff --git a/pbl/handoff-data.c b/pbl/handoff-data.c index 42e53f986bf14408f25cdf4434a5c284f8361401..9a24b82ef64a355b38bf436c03bece05cb1b77c5 100644 --- a/pbl/handoff-data.c +++ b/pbl/handoff-data.c @@ -189,6 +189,8 @@ static const char *handoff_data_entry_name(struct handoff_data_entry *hde) return "handoff FDT (external)"; case HANDOFF_DATA_ARM_MACHINE: return "ARM machine number"; + case HANDOFF_DATA_TEE_DT_OVL: + return "handoff TEE FDTO"; default: sprintf(name, "handoff %08x", hde->cookie); return name; -- 2.47.3