Habv4 on imx8m

Fabio Estevam festevam at gmail.com
Tue Jan 12 16:21:31 CET 2021


Hi Stefano,

On Tue, Jan 12, 2021 at 12:03 PM Stefano Babic <sbabic at denx.de> wrote:
>
> Hi Peng, Fabio,
>
> I accidental saw this code:
>
> arch/arm/mach-imx/imx8m/soc.c:#if defined(CONFIG_IMX_HAB)
>
> but then arch/arm/mach-imx/Kconfig  :
>
> config IMX_HAB
>          bool "Support i.MX HAB features"
>          depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
>
> this does not match. As I understand from manual, Habv4 is the same as
> in mx6. Should we simply enable HAB for imx8m, too ?

You are right. This should be enabled for i.MX8M too.

The vendor U-Boot code does like this:

config IMX_HAB
bool "Support i.MX HAB features"
depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_MX7ULP || ARCH_IMX8M

I can submit a patch adding mx7ulp and imx8m if you want.

Thanks


More information about the U-Boot mailing list