summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-31 14:40:38 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-05 20:36:57 (GMT)
commite47b2d674f0acd137412535647cb3072bf11dbb0 (patch)
tree9ebdb5b4ccc2805279bdbdb8971d1c55dcc2c0af /common/board_f.c
parent96d4b75c0d7f1bbbbde19e6225b09b1f7e7b60fe (diff)
downloadu-boot-fsl-qoriq-e47b2d674f0acd137412535647cb3072bf11dbb0.tar.xz
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/board_f.c')
-rw-r--r--common/board_f.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c
index f928c3d..bed09e2 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>