summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorKunihiko Hayashi <[email protected]>2023-06-20 19:50:48 +0900
committerTom Rini <[email protected]>2023-07-14 15:21:08 -0400
commit874bf6e0e25389a9d43b5844855342595d58648e (patch)
tree4a0675b08ef9ce1335bb9e8468646ba9c245bf2b /scripts/basic
parentef402577c2e3af6c3b967b2e4499b3796a37fde5 (diff)
board_f: Relocate fdt even if GD_FLG_SKIP_RELOC is set
In case of OF_SEPARATE (!OF_EMBED), the devicetree blob is placed after _end, and fdt_find_separate() always returns _end. There is a .bss section after _end and the section is cleared before relocation. When GD_FLG_SKIP_RELOC is set, relocation is skipped, so the blob is still in .bss section, but will be cleared. As a result, the devicetree become invalid. To avoid this issue, should relocate it regardless of GD_FLG_SKIP_RELOC in reloc_fdt(). Signed-off-by: Kunihiko Hayashi <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions