common/board_f: introduce arch_setup_dest_addr()
authorOvidiu Panait <ovpanait@gmail.com>
Tue, 13 Sep 2022 18:31:28 +0000 (21:31 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 7 Oct 2022 01:05:17 +0000 (21:05 -0400)
commitd63fc99435f462cbef5e062cb5f18711c947bf01
tree8b62c9301b30f4257185baa38ff431351b7d7aa4
parent85e68ae001d4449f02e6ce99b91e160bd94eb69c
common/board_f: introduce arch_setup_dest_addr()

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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
arch/powerpc/lib/stack.c
common/board_f.c
include/init.h