diff options
author | Simon Glass <sjg@chromium.org> | 2017-03-31 08:40:38 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-05 16:36:57 -0400 |
commit | e47b2d674f0acd137412535647cb3072bf11dbb0 (patch) | |
tree | 9ebdb5b4ccc2805279bdbdb8971d1c55dcc2c0af /common | |
parent | 96d4b75c0d7f1bbbbde19e6225b09b1f7e7b60fe (diff) | |
download | u-boot-e47b2d674f0acd137412535647cb3072bf11dbb0.tar.gz u-boot-e47b2d674f0acd137412535647cb3072bf11dbb0.tar.xz u-boot-e47b2d674f0acd137412535647cb3072bf11dbb0.zip |
board_f: Make relocation functions generic
This header file is used by three archs. It could be used by all of them
since relocation is a common function. Move it into a generic file.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/board_f.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c index f928c3dc73..bed09e2498 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -39,6 +39,7 @@ #include <os.h> #include <post.h> +#include <relocate.h> #include <spi.h> #include <status_led.h> #include <timer.h> @@ -47,9 +48,6 @@ #include <watchdog.h> #include <asm/io.h> #include <asm/sections.h> -#if defined(CONFIG_X86) || defined(CONFIG_ARC) || defined(CONFIG_XTENSA) -#include <asm/relocate.h> -#endif #include <dm/root.h> #include <linux/errno.h> |