
12 Sep
2022
12 Sep
'22
3:34 p.m.
On Sun, 11 Sept 2022 at 10:11, Ovidiu Panait ovpanait@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@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@chromium.org