]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commita7cd20aaaf6749d26c569098230a889a87c98c0d
tree8b62c9301b30f4257185baa38ff431351b7d7aa4
parentc60f005fca431537f07e8fe458b8a20192677e29
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