RE: [PATCH 1/2] board_f: fix use of GD_FLG_SKIP_RELOC

2021-10-13 Thread Peng Fan (OSS)
> Subject: Re: [PATCH 1/2] board_f: fix use of GD_FLG_SKIP_RELOC > > On 10/13/21 11:54 AM, Peng Fan (OSS) wrote: > > From: Peng Fan > > > > When dtb is padded in the end of U-Boot binary, dtb should always be > > relocated whether GD_FLG_SKIP_RELOC set or not,

Re: [PATCH 1/2] board_f: fix use of GD_FLG_SKIP_RELOC

2021-10-13 Thread Marek Vasut
On 10/13/21 11:54 AM, Peng Fan (OSS) wrote: From: Peng Fan When dtb is padded in the end of U-Boot binary, dtb should always be relocated whether GD_FLG_SKIP_RELOC set or not, otherwise dtb maybe corrupted. Need copy old gd contents to new_gd area, this may not needed on x86 or arc, but