[PATCH 3/4] common/board_f: introduce arch_setup_dest_addr()

Simon Glass sjg at chromium.org
Mon Sep 12 15:34:45 CEST 2022


On Sun, 11 Sept 2022 at 10:11, Ovidiu Panait <ovpanait at gmail.com> 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 <ovpanait at gmail.com>
> ---
>
>  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 <sjg at chromium.org>


More information about the U-Boot mailing list