Re: [PATCH] ARM: i.MX: prevent use of imx_cpu_type in PBL

Sascha Hauer <[email protected]>
Newsgroups org.infradead.lists.barebox
Message-ID <[email protected]>
On Fri, 22 May 2026 15:48:00 +0200, Ahmad Fatoum wrote:
> Functions like cpu_is_mx6q internally call cpu_is_mx6() first,
> which can be evaluated at compile-time if only i.MX6 boards are enabled.
> 
> This allowed calling cpu_is_mx6q in PBL entry points as long as barebox was
> compiled for only a single SoC.
> 
> Since the multi-arch/multi-platform support was added however,
> cpu_is_mx6 became a runtime check that's never true in PBL, leading all
> cpu_is_mx* in 32-boards to silently fail at runtime.
> 
> [...]

Applied, thanks!

[1/1] ARM: i.MX: prevent use of imx_cpu_type in PBL
      https://git.pengutronix.de/cgit/barebox/commit/?id=945f4513ed3b (link may not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.