spl: Align FDT load address
authorSam Edwards <cfsworks@gmail.com>
Sat, 15 Mar 2025 22:18:13 +0000 (15:18 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 2 Apr 2025 20:33:50 +0000 (14:33 -0600)
commit358d1cc232c30091767ce192e74169e7861ae58a
tree2eb587dad7472ffa905860a64c4a29dce0604fde
parent17d830cb4b6cdbac56d41938d455820fd7a96a89
spl: Align FDT load address

While the image size is generally a multiple of 8 bytes, this is not
actually guaranteed; some linkers (like LLD) will shave a few bytes off
of the end of output sections if there are no content bytes there. Since
libfdt imposes a hard rule of 8-byte alignment, make the SPL also be
explicit about the alignment when loading the FDT.

Signed-off-by: Sam Edwards <CFSworks@gmail.com>
common/spl/spl_fit.c