On Sun, 11 Sept 2022 at 10:11, Ovidiu Panait <[email protected]> wrote:
>
> In order to move ppc-specific code out of setup_dest_addr(), provide an
> arch-specific variant arch_setup_dest_addr(), that can be used by
> architecture code to fix up the initial reloc address.
>
> It is called at the end of setup_dest_addr() initcall and the default
> implementation is a nop stub.
>
> Signed-off-by: Ovidiu Panait <[email protected]>
> ---
>
>  arch/powerpc/lib/stack.c | 17 +++++++++++++++++
>  common/board_f.c         | 21 +++++++--------------
>  include/init.h           | 13 +++++++++++++
>  3 files changed, 37 insertions(+), 14 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to