]> git.dujemihanovic.xyz Git - u-boot.git/commit
board_f: Copy GD to new GD even if relocation disabled
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 13 Nov 2021 17:34:04 +0000 (18:34 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 18 Nov 2021 23:20:19 +0000 (18:20 -0500)
commit47d7d03622ba8b52f87274c7eea917a15e76053b
tree93929e3511037fa20c97d72fdbd569da54248e7b
parent50f7b2effd4971439e9b66467e4abf6688a124d9
board_f: Copy GD to new GD even if relocation disabled

Even if U-Boot has relocation disabled via GD_FLG_SKIP_RELOC , the
relocated stage of U-Boot still picks GD from new_gd location. The
U-Boot itself is not relocated, but GD might be, so copy the GD to
new GD location even if relocation is disabled.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Peng Fan <peng.fan@oss.nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
common/board_f.c