diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2022-01-01 19:13:29 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-18 08:31:02 -0500 |
commit | 2fd81be11c9042fa072d1a616c928c406746f68c (patch) | |
tree | 39205ba09c571c615d7a0aaed6bd491ec2f31e10 /common | |
parent | 1b212bb9f4bf55f58ed230a444e51204f1fa8b02 (diff) | |
download | u-boot-2fd81be11c9042fa072d1a616c928c406746f68c.tar.gz |
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>
Diffstat (limited to 'common')
-rw-r--r-- | common/board_r.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/common/board_r.c b/common/board_r.c index de6a20b0b2..b891c84462 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -59,9 +59,6 @@ #ifdef CONFIG_XEN #include <xen.h> #endif -#ifdef CONFIG_ADDR_MAP -#include <asm/mmu.h> -#endif #include <asm/sections.h> #include <dm/root.h> #include <dm/ofnode.h> |