[PATCH master] ARM: i.MX8MM bootsource: fix serial detection for QSPI boot source
Sascha Hauer
s.hauer at pengutronix.de
Mon Jan 22 02:23:19 PST 2024
On Fri, 19 Jan 2024 11:34:15 +0100, Marco Felsch wrote:
> The current code override the serial download boot mode which is set in
> case the BootROM decide to fallback due to an empty QSPI. This lead into
> the wrong boot source detection and barebox will try to download the
> rest of the image via QSPI instead of using the serial download mode.
>
> Fix this by reorder the detection, first try the generic bootsource and
> if this fails try to detect the QSPI boot mode. This is also how u-boot
> does it in the first place.
>
> [...]
Applied, thanks!
[1/1] ARM: i.MX8MM bootsource: fix serial detection for QSPI boot source
https://git.pengutronix.de/cgit/barebox/commit/?id=1ef7fe34de79 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list