summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@kernel.org>2022-09-29 13:11:28 +0300
committerTom Rini <trini@konsulko.com>2022-10-26 15:20:47 -0400
commit06377c5a1fce4d1e9b7a5dfb62a66c4fe0c076ce (patch)
tree02f9b94fbffbb3cc283ca5eabb93d45bf5b9397b /lib/string.c
parent0abe3323f5062032f8deb71cdc0635b124855d16 (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 <rogerq@kernel.org> Reviewed-By: Michael Trimarchi <michael@amarulasolutions.com>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions