Skip to contentSkip to conversation

imx: Add IMX_HAB support for i.MX7ULP and i.MX8M

PATCH New Fabio Estevam 2 participants 2 messages Mar 4, 2021

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 imx: Add IMX_HAB support for i.MX7ULP and i.MX8M

i.MX7ULP and i.MX8M may also use HAB. Add support for these platforms.

---
 arch/arm/mach-imx/Kconfig        | 2 +-
 arch/arm/mach-imx/imx8m/Kconfig  | 1 +
 arch/arm/mach-imx/mx7ulp/Kconfig | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
arch/arm/mach-imx/Kconfig +1 -1
index 8f64e2319525..2c3239ecfa4a 100644
@@ -43,7 +43,7 @@ config USE_IMXIMG_PLUGIN
 
 config IMX_HAB
 	bool "Support i.MX HAB features"
-	depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
+	depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_MX7ULP || ARCH_IMX8M
 	select FSL_CAAM if HAS_CAAM
 	imply CMD_DEKBLOB
 	help
arch/arm/mach-imx/imx8m/Kconfig +1 -0
index 12b8d0d83124..34da2ef6230e 100644
@@ -2,6 +2,7 @@ if ARCH_IMX8M
 
 config IMX8M
 	bool
+	select HAS_CAAM
 	select ROM_UNIFIED_SECTIONS
 
 config IMX8MQ
arch/arm/mach-imx/mx7ulp/Kconfig +1 -0
index 6680f856c5bd..2ffac9cf7c5e 100644
@@ -9,6 +9,7 @@ config LDO_ENABLED_MODE
 	  Select this option to enable the PMC1 LDO.
 
 config MX7ULP
+	select HAS_CAAM
 	bool
 
 choice
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 imx: Add IMX_HAB support for i.MX7ULP and i.MX8M

Quoted 15 lines · Fabio Estevam

i.MX7ULP and i.MX8M may also use HAB. Add support for these platforms.

---
 arch/arm/mach-imx/Kconfig        | 2 +-
 arch/arm/mach-imx/imx8m/Kconfig  | 1 +
 arch/arm/mach-imx/mx7ulp/Kconfig | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
arch/arm/mach-imx/Kconfig +0 -0
index 8f64e2319525..2c3239ecfa4a 100644

arch/arm/mach-imx/Kconfig config USE_IMXIMG_PLUGIN · line 49

Quoted 8 lines
arch/arm/mach-imx/Kconfig +1 -1
@@ -43,7 +43,7 @@ config USE_IMXIMG_PLUGIN
 
 config IMX_HAB
 	bool "Support i.MX HAB features"
-	depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
+	depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_MX7ULP || ARCH_IMX8M
 	select FSL_CAAM if HAS_CAAM
 	imply CMD_DEKBLOB
 	help

Can we get a HAS_IMX_HAB feature to depend on, and let the various ARCH_xxx select that? The list is long, this makes it longer and I assume the next IMX8something will make it even longer. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210304/4cb52319/attachment.sig>