[PATCH 3/7] firmware: i.MX OP-TEE: Add some Kconfig help

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 19 06:24:09 PST 2024


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 <s.hauer at pengutronix.de>
---
 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




More information about the barebox mailing list