[PATCH 2/3] timer-uclass: relocate ops pointers for CONFIG_NEEDS_MANUAL_RELOC

Simon Glass sjg at chromium.org
Wed Oct 12 14:59:30 CEST 2022


On Tue, 11 Oct 2022 at 23:37, Ovidiu Panait <ovpanait at 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 <ovpanait at gmail.com>
> ---
>
>  drivers/timer/timer-uclass.c | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>

Which (broken) toolchain are you using?


More information about the U-Boot mailing list