From: Stefano Babic Date: Tue, 12 Jan 2021 17:06:23 +0100 Subject: Habv4 on imx8m In-Reply-To: References: <815c01bb-bd29-0b72-fd6d-0dec9261574d@denx.de> Message-ID: <5bafa025-61e5-0fad-6d9f-e40f255d35ac@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12.01.21 16:21, Fabio Estevam wrote: > Hi Stefano, > > On Tue, Jan 12, 2021 at 12:03 PM Stefano Babic 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. > Nice, thanks ! Stefano > Thanks > -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================