On Sat, 25 Dec 2021 at 12:57, Ovidiu Panait <[email protected]> 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 <[email protected]>
> ---
>
>  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 <[email protected]>

Reply via email to