Hi Simon,

On 10/12/22 15:59, Simon Glass wrote:
On Tue, 11 Oct 2022 at 23:37, Ovidiu Panait <ovpan...@gmail.com> wrote:
Relocate timer_ops pointers when CONFIG_NEEDS_MANUAL_RELOC is enabled.

The (gd->flags & GD_FLG_RELOC) check was added to make sure the reloc_done
logic works for drivers that use DM_FLAG_PRE_RELOC.

Signed-off-by: Ovidiu Panait <ovpan...@gmail.com>
---

  drivers/timer/timer-uclass.c | 14 ++++++++++++++
  1 file changed, 14 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org>

Which (broken) toolchain are you using?

Microblaze and m68k still use CONFIG_NEEDS_MANUAL_RELOC=y by default. I was testing on microblaze.


Ovidiu

Reply via email to