]> git.baikalelectronics.ru Git - uboot.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)
commit72e6a02a0bc44ec18e18cc1d28892cfff1eb9187
tree93929e3511037fa20c97d72fdbd569da54248e7b
parentaffbfee8c37c5345a3f5b9e9c4beae5e8328c077
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