diff options
| author | Roger Quadros <[email protected]> | 2022-09-29 13:11:28 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-10-26 15:20:47 -0400 |
| commit | 06377c5a1fce4d1e9b7a5dfb62a66c4fe0c076ce (patch) | |
| tree | 02f9b94fbffbb3cc283ca5eabb93d45bf5b9397b /scripts | |
| parent | 0abe3323f5062032f8deb71cdc0635b124855d16 (diff) | |
spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard
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 <[email protected]>
Reviewed-By: Michael Trimarchi <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
