From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 19 Jan 2024 15:25:45 +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 1rQpoV-0079Xt-2n for lore@lore.pengutronix.de; Fri, 19 Jan 2024 15:25:45 +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 1rQpoW-0003jY-GV for lore@pengutronix.de; Fri, 19 Jan 2024 15:25:45 +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:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=blpQ8Ekr680fZCeCxnPNHWMjFAwiAlc72alBXploLeI=; b=m7UPqlPOkTe5k57FsTzODvptI7 SXaH2Q9TPByg4EVywgznuWy5s0tFWozxEdwcW6GHodUH63phJu1vWOjs1iXniIcgcfy7F1QGxYke2 rJGWI+38LxKMMJL82KdG5TjAQWg0TXyIP5dj+ny6MKd8vVB8VBQrC6ZB7Gfc3SGtNyMfo71i6R618 NZh94yFAyO3LlEZ4vRQQlKnBX2P1lzMxlmmYaTp3Uzd8ezLi6SxxVKXZJ10NxPsqa/uPC8HoXRV6i IgxElxXaBIwHmKCh6GbCp8I9jcnoXBKofAF+pzUth00yF9q5Y6TM/+2U2r1Lzf9A1DG+dgqFpjp/k NQzPgwwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rQpnL-005prj-2l; Fri, 19 Jan 2024 14:24:31 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rQpnE-005pnT-2X for barebox@lists.infradead.org; Fri, 19 Jan 2024 14:24:28 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rQpn5-0003OV-Gd; Fri, 19 Jan 2024 15:24:15 +0100 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rQpn5-000wI9-49; Fri, 19 Jan 2024 15:24:15 +0100 Received: from localhost ([::1] helo=dude02.red.stw.pengutronix.de) by dude02.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1rQpn5-00DczL-05; Fri, 19 Jan 2024 15:24:15 +0100 From: Sascha Hauer To: Barebox List Date: Fri, 19 Jan 2024 15:24:09 +0100 Message-Id: <20240119142413.3206832-4-s.hauer@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240119142413.3206832-1-s.hauer@pengutronix.de> References: <20240119142413.3206832-1-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240119_062424_871857_D2ABF827 X-CRM114-Status: UNSURE ( 9.58 ) 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=-6.3 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH 3/7] firmware: i.MX OP-TEE: Add some Kconfig help 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) By enabling FIRMWARE_IMX8M*_OPTEE barebox will load and start OP-TEE via the TF-A. Add some help text which explains where the OP-TEE binaries are expected during barebox build. Signed-off-by: Sascha Hauer --- firmware/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/firmware/Kconfig b/firmware/Kconfig index 8babdb85a8..c1731366c6 100644 --- a/firmware/Kconfig +++ b/firmware/Kconfig @@ -44,18 +44,34 @@ config FIRMWARE_IMX93_ATF config FIRMWARE_IMX8MM_OPTEE bool "install OP-TEE on i.MX8MM boards" depends on FIRMWARE_IMX8MM_ATF && PBL_OPTEE + help + This enables OP-TEE loading and starting on i.MX8MM. Place the OP-TEE binary + in CONFIG_EXTRA_FIRMWARE_DIR/imx8mm-bl32.bin. When this option is enabled then + the TF-A binary will be used from CONFIG_EXTRA_FIRMWARE_DIR/imx8mm-bl31.bin-optee. config FIRMWARE_IMX8MN_OPTEE bool "install OP-TEE on i.MX8MN boards" depends on FIRMWARE_IMX8MN_ATF && PBL_OPTEE + help + This enables OP-TEE loading and starting on i.MX8MN. Place the OP-TEE binary + in CONFIG_EXTRA_FIRMWARE_DIR/imx8mn-bl32.bin. When this option is enabled then + the TF-A binary will be used from CONFIG_EXTRA_FIRMWARE_DIR/imx8mn-bl31.bin-optee. config FIRMWARE_IMX8MP_OPTEE bool "install OP-TEE on i.MX8MP boards" depends on FIRMWARE_IMX8MP_ATF && PBL_OPTEE + help + This enables OP-TEE loading and starting on i.MX8MP. Place the OP-TEE binary + in CONFIG_EXTRA_FIRMWARE_DIR/imx8mp-bl32.bin. When this option is enabled then + the TF-A binary will be used from CONFIG_EXTRA_FIRMWARE_DIR/imx8mp-bl31.bin-optee. config FIRMWARE_IMX8MQ_OPTEE bool "install OP-TEE on i.MX8MQ boards" depends on FIRMWARE_IMX8MQ_ATF && PBL_OPTEE + help + This enables OP-TEE loading and starting on i.MX8MQ. Place the OP-TEE binary + in CONFIG_EXTRA_FIRMWARE_DIR/imx8mq-bl32.bin. When this option is enabled then + the TF-A binary will be used from CONFIG_EXTRA_FIRMWARE_DIR/imx8mq-bl31.bin-optee. config FIRMWARE_CCBV2_OPTEE bool -- 2.39.2