From 2fd81be11c9042fa072d1a616c928c406746f68c Mon Sep 17 00:00:00 2001 From: Ovidiu Panait Date: Sat, 1 Jan 2022 19:13:29 +0200 Subject: 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 Signed-off-by: Ovidiu Panait --- common/board_r.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'common') diff --git a/common/board_r.c b/common/board_r.c index de6a20b..b891c84 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -59,9 +59,6 @@ #ifdef CONFIG_XEN #include #endif -#ifdef CONFIG_ADDR_MAP -#include -#endif #include #include #include -- cgit v1.1