Kunihiko Hayashi 874bf6e0e2 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 <hayashi.kunihiko@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-14 15:21:08 -04:00
..
2022-10-31 11:02:44 -04:00
2023-04-24 21:37:45 +02:00
2023-04-27 13:51:06 -04:00
2023-05-31 17:23:01 -04:00
2023-03-30 15:09:59 -04:00
2022-11-02 08:42:03 +01:00
2022-01-19 18:11:34 +01:00
2023-02-10 07:41:39 -05:00
2022-08-04 16:18:47 -04:00
2023-07-14 15:21:07 -04:00
2023-03-14 16:08:51 -06:00
2023-06-23 14:38:16 -04:00
2021-04-20 07:31:12 -04:00
2023-06-20 20:56:27 -04:00
2023-02-07 14:33:50 -05:00
2023-05-13 09:52:32 -04:00