[PATCH] common/spl: use memmove() in load_simple_fit()

Tom Rini trini at konsulko.com
Tue Sep 9 20:31:37 CEST 2025


On Tue, 19 Aug 2025 12:55:54 +0200, Rasmus Villemoes wrote:

> I had trouble booting some am335x boards (both
> beagleboneblack and a custom board). SPL would start just fine, and
> apparently load U-Boot proper, but it would hang when jumping to
> U-Boot.
> 
> While debugging, I stumbled on this memcpy() which from code
> inspection very much looked to have overlapping src and dst, and
> indeed a simple printf revealed
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] common/spl: use memmove() in load_simple_fit()
      commit: 122c25c00a238b55ac6745eb961c5ea66b45be8c
-- 
Tom




More information about the U-Boot mailing list