diff options
| author | Francesco Valla <[email protected]> | 2026-06-04 22:41:37 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-06-17 14:16:41 -0600 |
| commit | fffbb6f428ff81236d6092bec0d161904ca50335 (patch) | |
| tree | d4513d07fec1c6fe0182d6a9208a0877dc96e8c2 /tests/suites/test_suite_memory_buffer_alloc.function | |
| parent | 2a70a7e2252ecf01057592bb163a11cd337bcc95 (diff) | |
spl: fit: rework the FDT load hack
U-Boot proper expects its FDT to be right after its binary image; the
"full" FIT image loader thus adopts an hack to relocate it, ignoring
the specified load address.
Rework the current form of the hack to:
- support the 'sandbox' environment with a sysmem-aware memcpy;
- use the ALIGN() macro instead of raw alignment logic;
- align the FDT to 8-byte boundary as per FDT specifications;
- fix the debug print (which was reporting the source address for the
relocation instead of the destination one).
Signed-off-by: Francesco Valla <[email protected]>
Diffstat (limited to 'tests/suites/test_suite_memory_buffer_alloc.function')
0 files changed, 0 insertions, 0 deletions
