[RESEND PATCH 5/7] common: board_r: move init_addr_map() to init.h
Simon Glass
sjg at chromium.org
Tue Dec 28 09:34:51 CET 2021
On Sat, 25 Dec 2021 at 12:57, Ovidiu Panait <ovidiu.panait at windriver.com> wrote:
>
> asm/mmu.h include is currently guarded by CONFIG_ADDR_MAP ifdef because
> the header is only present on arm and powerpc. In order to remove the
> dependency on this header and the associated ifdef, move init_addr_map()
> declaration to init.h, since it is only called during the common init sequence.
>
> Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>
> ---
>
> arch/arm/include/asm/mmu.h | 8 --------
> arch/powerpc/cpu/mpc85xx/tlb.c | 1 +
> arch/powerpc/include/asm/mmu.h | 4 ----
> board/freescale/common/fsl_chain_of_trust.c | 5 +----
> common/board_r.c | 3 ---
> include/init.h | 10 ++++++++++
> 6 files changed, 12 insertions(+), 19 deletions(-)
> delete mode 100644 arch/arm/include/asm/mmu.h
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list