commit | b391b915bb3441a01b18d9b144425b577ea6b2c2 | [log] [tgz] |
---|---|---|
author | Ovidiu Panait <ovpanait@gmail.com> | Tue May 31 21:14:23 2022 +0300 |
committer | Michal Simek <michal.simek@amd.com> | Fri Jun 24 14:16:00 2022 +0200 |
tree | b6754b9f6c1246e4dc0694ffe753ae2e89a76239 | |
parent | 15c924a7437b9763b1b84aa693a842c49184586d [diff] |
cpu-uclass: relocate ops pointers for CONFIG_NEEDS_MANUAL_RELOC Relocate cpu_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> Link: https://lore.kernel.org/r/20220531181435.3473549-2-ovpanait@gmail.com Signed-off-by: Michal Simek <michal.simek@amd.com>