summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-31 08:40:37 -0600
committerTom Rini <trini@konsulko.com>2017-04-05 16:36:56 -0400
commit96d4b75c0d7f1bbbbde19e6225b09b1f7e7b60fe (patch)
tree0860497862d4c5e0fd308eb703111c1421ca5230 /common/board_f.c
parente5fb573f6431d7585ef43eb02b67ac1a07f40094 (diff)
board_f: Make init_helpers generic
This header file is used by two archs. It could be used by all of them since it allows the cache to be on during relocation. 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 bafe3aa49c..f928c3dc73 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -18,6 +18,7 @@
#include <fs.h>
#include <i2c.h>
#include <initcall.h>
+#include <init_helpers.h>
#include <logbuff.h>
#include <malloc.h>
#include <mapmem.h>
@@ -46,9 +47,6 @@
#include <watchdog.h>
#include <asm/io.h>
#include <asm/sections.h>
-#if defined(CONFIG_X86) || defined(CONFIG_ARC)
-#include <asm/init_helpers.h>
-#endif
#if defined(CONFIG_X86) || defined(CONFIG_ARC) || defined(CONFIG_XTENSA)
#include <asm/relocate.h>
#endif