commit | 9533931b0a30b2909326f17e0846ed7bdaf77b59 | [log] [tgz] |
---|---|---|
author | Ovidiu Panait <ovpanait@gmail.com> | Wed Oct 12 08:36:55 2022 +0300 |
committer | Michal Simek <michal.simek@amd.com> | Tue Nov 22 15:02:07 2022 +0100 |
tree | 20434530c1b238ee89d4113416fc47b501f24769 | |
parent | 49e17dfc467443524046ef4bce559985b260ef07 [diff] |
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: Ovidiu Panait <ovpanait@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Link: https://lore.kernel.org/r/20221012053656.1492457-2-ovpanait@gmail.com Signed-off-by: Michal Simek <michal.simek@amd.com>