[PATCH v2] spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard
Tom Rini
trini at konsulko.com
Wed Oct 26 21:26:45 CEST 2022
On Wed, Oct 26, 2022 at 10:19:56PM +0300, Roger Quadros wrote:
> OMAP3 BeagleBoard NAND boot hangs when spl_load_legacy_img() tries
> to read the header into 'struct hdr' which is allocated on the
> stack.
>
> As the header has already been read once before by spl_nand.c,
> we can avoid the extra header allocation and read here by
> simply passing around the pointer to the header.
>
> This fixes NAND boot on OMAP3 BeagleBoard.
>
> Signed-off-by: Roger Quadros <rogerq at kernel.org>
> Reviewed-By: Michael Trimarchi <michael at amarulasolutions.com>
Applied to u-boot/master, 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/20221026/9bed1b28/attachment.sig>
More information about the U-Boot
mailing list