* [PATCH] imx: Add IMX_HAB support for i.MX7ULP and i.MX8M
@ 2021-03-04 11:17 Fabio Estevam
2021-03-04 20:04 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2021-03-04 11:17 UTC (permalink / raw)
To: u-boot
i.MX7ULP and i.MX8M may also use HAB. Add support for these
platforms.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
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(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 8f64e2319525..2c3239ecfa4a 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -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
diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
index 12b8d0d83124..34da2ef6230e 100644
--- a/arch/arm/mach-imx/imx8m/Kconfig
+++ b/arch/arm/mach-imx/imx8m/Kconfig
@@ -2,6 +2,7 @@ if ARCH_IMX8M
config IMX8M
bool
+ select HAS_CAAM
select ROM_UNIFIED_SECTIONS
config IMX8MQ
diff --git a/arch/arm/mach-imx/mx7ulp/Kconfig b/arch/arm/mach-imx/mx7ulp/Kconfig
index 6680f856c5bd..2ffac9cf7c5e 100644
--- a/arch/arm/mach-imx/mx7ulp/Kconfig
+++ b/arch/arm/mach-imx/mx7ulp/Kconfig
@@ -9,6 +9,7 @@ config LDO_ENABLED_MODE
Select this option to enable the PMC1 LDO.
config MX7ULP
+ select HAS_CAAM
bool
choice
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] imx: Add IMX_HAB support for i.MX7ULP and i.MX8M
2021-03-04 11:17 [PATCH] imx: Add IMX_HAB support for i.MX7ULP and i.MX8M Fabio Estevam
@ 2021-03-04 20:04 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-03-04 20:04 UTC (permalink / raw)
To: u-boot
On Thu, Mar 04, 2021 at 08:17:42AM -0300, Fabio Estevam wrote:
> i.MX7ULP and i.MX8M may also use HAB. Add support for these
> platforms.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> 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(-)
>
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index 8f64e2319525..2c3239ecfa4a 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -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!
--
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-04 20:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-04 11:17 [PATCH] imx: Add IMX_HAB support for i.MX7ULP and i.MX8M Fabio Estevam
2021-03-04 20:04 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox