Skip to content
Commit 8272d4cb authored by Ovidiu Panait's avatar Ovidiu Panait Committed by Michal Simek
Browse files

timer-uclass: relocate ops pointers for CONFIG_NEEDS_MANUAL_RELOC



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: default avatarOvidiu Panait <ovpanait@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20221012053656.1492457-2-ovpanait@gmail.com


Signed-off-by: default avatarMichal Simek <michal.simek@amd.com>
parent 1e766a04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment