]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: board_r: move init_addr_map() to init.h
authorOvidiu Panait <ovidiu.panait@windriver.com>
Sat, 1 Jan 2022 17:13:29 +0000 (19:13 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 18 Jan 2022 13:31:02 +0000 (08:31 -0500)
commit2fd81be11c9042fa072d1a616c928c406746f68c
tree39205ba09c571c615d7a0aaed6bd491ec2f31e10
parent1b212bb9f4bf55f58ed230a444e51204f1fa8b02
common: board_r: move init_addr_map() to init.h

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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
arch/arm/include/asm/mmu.h [deleted file]
arch/powerpc/cpu/mpc85xx/tlb.c
arch/powerpc/include/asm/mmu.h
board/freescale/common/fsl_chain_of_trust.c
common/board_r.c
include/init.h