Re: [PATCH v2 5/7] common: board_r: move init_addr_map() to init.h

2022-01-18 Thread Tom Rini
On Sat, Jan 01, 2022 at 07:13:29PM +0200, Ovidiu Panait 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

[PATCH v2 5/7] common: board_r: move init_addr_map() to init.h

2022-01-01 Thread Ovidiu Panait
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. Rev